Defined in carb/profiler/Profile.h

CARB_PROFILE_FREE_NAMED(maskOrChannel, ptr, poolName, ...)

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

  • maskOrChannel – The event mask (see carb::profiler::setCaptureMask()) or a profiling channel. This should match the value passed to CARB_PROFILE_ALLOC_NAMED() for the same allocation.

  • 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.