Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ memused
Function
memused
src/allocator/mod.rs:203–206 ·
view source on GitHub ↗
Used memory
()
Source
from the content-addressed store, hash-verified
201
202
// Used memory
203
pub fn memused() -> usize
204
{
205
ALLOCATOR.lock().free()
206
}
207
208
209
// PhysicalBuffer struct
Callers
nothing calls this directly
Calls
2
free
Method · 0.80
lock
Method · 0.80
Tested by
no test coverage detected