[Refactor] Add compile-aware timing and profiling helpers #3297
Dr.CI classification results
{"FAILED":[{"workflowId":20810804762,"workflowUniqueId":60501564,"id":59774334380,"runnerName":"i-0457c7d099c105cf5","authorEmail":"[email protected]","name":"Habitat Tests on Linux / tests (3.9, 12.8) / linux-job","jobName":"tests (3.9, 12.8) / linux-job","conclusion":"failure","completed_at":"2026-01-08T08:52:30.000000000Z","html_url":"https://github.com/pytorch/rl/actions/runs/20810804762/job/59774334380","logUrl":"https://ossci-raw-job-status.s3.amazonaws.com/log/pytorch/rl/59774334380","head_branch":"gh/vmoens/178/head","pr_number":3297,"head_sha":"d64b563f82d27140180a8e9ae847bfab5062cd79","head_sha_timestamp":"2026-01-08T08:42:08.000000000Z","failure_captures":["RuntimeError: Command docker exec -t 437ba575d0857e1f0e7f84464292781415d7ae8c473adf58c7b7e3dad9b28cc0 /exec failed with exit code 1"],"failure_lines":["RuntimeError: Command docker exec -t 437ba575d0857e1f0e7f84464292781415d7ae8c473adf58c7b7e3dad9b28cc0 /exec failed with exit code 1"],"failure_context":[],"time":"2026-01-08T08:42:24.000000000Z"},{"workflowId":20810804778,"workflowUniqueId":82165821,"id":59774335154,"runnerName":"i-0763102a32a13cf26","authorEmail":"[email protected]","name":"Libs Tests on Linux / unittests-gym (3.9, 12.8) / linux-job","jobName":"unittests-gym (3.9, 12.8) / linux-job","conclusion":"failure","completed_at":"2026-01-08T08:52:59.000000000Z","html_url":"https://github.com/pytorch/rl/actions/runs/20810804778/job/59774335154","logUrl":"https://ossci-raw-job-status.s3.amazonaws.com/log/pytorch/rl/59774335154","head_branch":"gh/vmoens/178/head","pr_number":3297,"head_sha":"d64b563f82d27140180a8e9ae847bfab5062cd79","head_sha_timestamp":"2026-01-08T08:42:08.000000000Z","failure_captures":["RuntimeError: Command docker exec -t b2a6edf3d4a80720962c80b19ee1c99e073d1812d72b9e1c9c1ceef9fff2e602 /exec failed with exit code 1"],"failure_lines":["RuntimeError: Command docker exec -t b2a6edf3d4a80720962c80b19ee1c99e073d1812d72b9e1c9c1ceef9fff2e602 /exec failed with exit code 1"],"failure_context":[],"time":"2026-01-08T08:42:24.000000000Z"}],"FLAKY":[],"BROKEN_TRUNK":[],"UNSTABLE":[]}