CARB_PROFILE_END

Defined in carb/profiler/Profile.h

CARB_PROFILE_END(maskOrChannel, ...)

Marks the end of a profiling zone previously started with CARB_PROFILE_BEGIN().

Warning

Consider using CARB_PROFILE_ZONE() to automatically profile a scope. Manual begin and end sections can cause programming errors and confuse the profiler if an end is skipped.

Parameters
  • maskOrChannel – The event mask or a channel symbol. This should match the value passed to CARB_PROFILE_BEGIN().

  • ... – The carb::profiler::ZoneId returned from CARB_PROFILE_BEGIN(), if known. This will help the profiler to validate that the proper zone was ended.