MCPcopy
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

30var mem0 = MemStat{ActualFree: math.MaxUint64}
31
32func (mem *MemStat) Get() error {
33 if !containerized {
34 return mem.host()
35 }
36 return mem.container()
37}
38
39func (mem *MemStat) String() string {
40 var (

Callers 7

TestMemoryStatsFunction · 0.95
watchMethod · 0.95
watchReservedMethod · 0.95
watchExcessMethod · 0.95
newDSorterGeneralFunction · 0.95
freeMemoryMethod · 0.95
PressureMethod · 0.95

Calls 2

hostMethod · 0.95
containerMethod · 0.95

Tested by 1

TestMemoryStatsFunction · 0.76