Defined in carb/profiler/Profile.h

CARB_PROFILE_GPU_QUERY_BEGIN(maskOrChannel, contextId, queryId, eventName, ...)

Record the beginning of a new GPU timestamp query.

  • maskOrChannel – Event capture mask or profiling channel.

  • contextId – The id of the context as returned by carb::profiler::IProfiler::createGpuContext()

  • queryId – Unique query id (for identification when passing to carb::profiler::IProfiler::setGpuQueryValue())

  • eventName – The name for the event.