Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ getPeak
Function
getPeak
Sming/Components/malloc_count/malloc_count.cpp:175–178 ·
view source on GitHub ↗
user function to return the peak allocation */
Source
from the content-addressed store, hash-verified
173
174
/* user function to return the peak allocation */
175
size_t getPeak()
176
{
177
return stats.peak;
178
}
179
180
/* user function to reset the peak allocation to current */
181
void resetPeak()
Callers
1
printHeap
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected