CARB_PROFILE_CALIBRATE_GPU_CONTEXT

Defined in carb/profiler/Profile.h

CARB_PROFILE_CALIBRATE_GPU_CONTEXT(contextId, correlatedCpuTimestampNs, previousCorrelatedCpuTimestampNs, correlatedGpuTimestamp)

Submit context calibration information that allows correlating CPU and GPU clocks.

Parameters
  • contextId – ID of the context, returned by carb::profiler::IProfiler::createGpuContext()

  • correlatedCpuTimestampNs – The new CPU timestamp at the time of correlation (in nanoseconds)

  • previousCorrelatedCpuTimestampNs – The CPU timestamp at the time of previous correlation (in nanoseconds)

  • correlatedGpuTimestamp – The new raw GPU timestamp at the time of correlation