CARB_PROFILE_ALLOC

Defined in carb/profiler/Profile.h

CARB_PROFILE_ALLOC(mask, ptr, size)

Records an allocation event for profilers that support them.

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

  • ptr – The memory address that was allocated.

  • size – The size of the memory region beginning at ptr.