pytorch/test/cpp/lite_interpreter_runtime
Salil Desai e2dc60c6cb [Vulkan + Profiler] Add Timestamp Adjustment Algorithm (#90672)
@bypass-github-export-checks

This change ensures that vulkan event start/end times are correctly synced with their parent CPU times.

This sometimes requires increasing CPU event durations (to fully contain their child events) and delaying CPU event start times (to prevent overlaps), so this should not be used unless Vulkan events are being profiled and it is ok to use this modified timestamp/duration information instead of the the original information.

Differential Revision: [D39893109](https://our.internmc.facebook.com/intern/diff/D39893109/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D39893109/)!
Pull Request resolved: https://github.com/pytorch/pytorch/pull/90672
Approved by: https://github.com/kimishpatel
2022-12-19 20:01:07 +00:00
..
CMakeLists.txt Revert "support running test_mobile_profiler with buck1/buck2 and OSS (#89001)" 2022-11-14 23:36:17 +00:00
delegate_test.ptl
delegated_submodule_with_debug_info.ptl
light_model.ptl
main.cpp
resources.h reland "support running test_mobile_profiler with buck1/buck2 and OSS (#89001)" (#89091) 2022-11-17 21:04:23 +00:00
sequence.ptl
test_backend_for_profiling.ptl
test_lite_interpreter_runtime.cpp
test_mobile_profiler.cpp [Vulkan + Profiler] Add Timestamp Adjustment Algorithm (#90672) 2022-12-19 20:01:07 +00:00
to_be_profiled_module.ptl