Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Compaile/ctrack
/ rusage
Class
rusage
benchmark/ctrack_benchmark.cpp:64–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
62
return pmc.WorkingSetSize;
63
#else
64
struct rusage usage;
65
getrusage(RUSAGE_SELF, &usage);
66
return usage.ru_maxrss * 1024; // Convert KB to bytes on Linux
67
#endif
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected