malloc_count.h
Go to the documentation of this file.
void enable(Handler &commandHandler, HardwareSerial &serial)
Definition: malloc_count.h:36
void setLogThreshold(size_t threshold)
Set minimum allocation size for log output (when enabled)
std::function< void(size_t current)> Callback
Callback function type.
Definition: malloc_count.h:77
void setCallback(Callback callback)
Set a callback function that is invoked on each change of the current allocation.