MCPcopy
hub / github.com/cubefs/cubefs / StatBandWidth

Function StatBandWidth

util/stat/statistic.go:424–429  ·  view source on GitHub ↗
(typeName string, Size uint32)

Source from the content-addressed store, hash-verified

422}
423
424func StatBandWidth(typeName string, Size uint32) {
425 if gSt == nil {
426 return
427 }
428 EndStat(typeName+"[FLOW_KB]", nil, nil, Size/1024)
429}
430
431func GetMememory() (Virt, Res uint64, err error) {
432 return GetProcessMemory(gSt.pid)

Callers 4

cacheMethod · 0.92
readMethod · 0.92
ReadMethod · 0.92
WriteMethod · 0.92

Calls 1

EndStatFunction · 0.85

Tested by

no test coverage detected