roctracer icon indicating copy to clipboard operation
roctracer copied to clipboard

[Feature]: Add Roctracer Timestamp Callback Call

Open sraikund16 opened this issue 6 months ago • 2 comments

Suggestion Description

When looking at the Timestamp Operations in roctracer.h, I noticed there is no way to change the clock that roctracer uses to set timestamps. This forces the user to use a system clock, which is not guaranteed to be monotonic. It would be useful to have a rocm version of cuptiActivityRegisterTimestampCallback so that we can set the timestamps to be monotonic.

Thank you.

Operating System

CentOS Stream 9

GPU

N/A

ROCm Component

roctracer

sraikund16 avatar Aug 22 '24 22:08 sraikund16