CARB_PROFILE_FREE_NAMED

Defined in carb/profiler/Profile.h

CARB_PROFILE_FREE_NAMED(mask, ptr, poolName, ...)

Records a free event for a named memory pool for profilers that support them.

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

  • ptr – The memory address that was freed.

  • poolName – The name of the memory pool. This must be either a literal string or a printf-style format string. Literal strings are far more efficient.

  • ... – Optional printf-style variadic arguments corresponding to format specifiers in poolName.