VirtualMemory returns the virtual memory size in bytes.
()
| 212 | |
| 213 | // VirtualMemory returns the virtual memory size in bytes. |
| 214 | func (s ProcStat) VirtualMemory() uint { |
| 215 | return s.VSize |
| 216 | } |
| 217 | |
| 218 | // ResidentMemory returns the resident memory size in bytes. |
| 219 | func (s ProcStat) ResidentMemory() int { |
no outgoing calls