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