CARB_PROFILE_ALLOC

Defined in carb/profiler/Profile.h

CARB_PROFILE_ALLOC(maskOrChannel, ptr, size)

Records an allocation event for profilers that support them.

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

  • ptr – The memory address that was allocated.

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