CARB_PROFILE_FRAME

Defined in carb/profiler/Profile.h

CARB_PROFILE_FRAME(mask, frameName, ...)

Inserts a frame marker in the profiling output, for profilers that support frame markers.

Parameters
  • mask – The event mask. See carb::profiler::setCaptureMask().

  • frameName – A name for the frame. This must either be a literal string or a printf-style format string. Literal strings are far more efficient.

  • ... – Optional printf-style variadic arguments corresponding to format specifiers in frameName.