Wen-Heng (Jack) Chung a448da4963 Introduce a new API roctracer_get_timestamp().
roctracer_status_t roctracer_get_timestamp(uint64_t* timestamp);

Get system timestamp for roctracer clients.

The API could be used to help roctracer clients understand the reference frame
of timestamps when receiving activity callbacks, as the nanoseconds reported in
the activity callbacks are not in the same reference frame as CPU walltime
clock.


[ROCm/roctracer commit: b7aa8fedb7]
2019-12-19 18:05:33 +00:00
S
Kuvaus
No description provided
282 MiB
Languages
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Other 1.1%