CARB_PROFILE_FUNCTION

Defined in carb/profiler/Profile.h

CARB_PROFILE_FUNCTION(mask)

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
  • mask – The event mask. See carb::profiler::setCaptureMask().