MCPcopy Create free account
hub / github.com/SmingHub/Sming / dec_count

Function dec_count

Sming/Components/malloc_count/malloc_count.cpp:144–150  ·  view source on GitHub ↗

decrement allocation to statistics */

Source from the content-addressed store, hash-verified

142
143/* decrement allocation to statistics */
144void dec_count(size_t dec)
145{
146 stats.current -= dec;
147 if(userCallback) {
148 userCallback(stats.current);
149 }
150}
151
152#endif // ENABLE_MALLOC_COUNT
153

Callers 2

mc_freeFunction · 0.85
mc_reallocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected