Closed whchung closed 4 years ago
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.
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.