Luna::memory_profiler_deallocate

void memory_profiler_deallocate(void *ptr)

Emits one PROFILER_EVENT_ID_MEMORY_DEALLOCATE profiler event.

Parameters

  • in ptr

    The registered memory pointer.

Remark

Memory deallocations through memfree call this internally when memory profiling is enabled, thus the user does not need to call this again.