Lines Matching defs:gpu_ts
187 uint64_t gpu_ts = 0;
192 if (tu_device_get_gpu_timestamp(dev, &gpu_ts)) {
202 gpu_ts = tu_device_ticks_to_ns(dev, gpu_ts);
213 gpu_ts += gpu_timestamp_offset;
218 if (sync_gpu_ts > gpu_ts) {
219 gpu_ts += (gpu_max_timestamp - gpu_timestamp_offset);
223 if (sync_gpu_ts > gpu_ts) {
228 gpu_max_timestamp = gpu_ts;
248 clock->set_timestamp(gpu_ts);
251 sync_gpu_ts = gpu_ts;