Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/NVIDIA/aistore
/ Get
Method
Get
sys/mem.go:32–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
var
mem0 = MemStat{ActualFree: math.MaxUint64}
31
32
func
(mem *MemStat) Get() error {
33
if
!containerized {
34
return
mem.host()
35
}
36
return
mem.container()
37
}
38
39
func
(mem *MemStat) String() string {
40
var
(
Callers
7
TestMemoryStats
Function · 0.95
watch
Method · 0.95
watchReserved
Method · 0.95
watchExcess
Method · 0.95
newDSorterGeneral
Function · 0.95
freeMemory
Method · 0.95
Pressure
Method · 0.95
Calls
2
host
Method · 0.95
container
Method · 0.95
Tested by
1
TestMemoryStats
Function · 0.76