CARB_PROFILE_FUNCTION

Defined in carb/profiler/Profile.h

CARB_PROFILE_FUNCTION(maskOrChannel)

A helper for CARB_PROFILE_ZONE() that automatically uses the function name as from CARB_PRETTY_FUNCTION.

Equivalent, but faster than: CARB_PROFILE_ZONE(mask, "%s", CARB_PRETTY_FUNCTION).

Parameters
  • maskOrChannel – The event mask (see carb::profiler::setCaptureMask()) or a profiling channel.