TextBytes returns the process of text (code) size in bytes.
()
| 108 | |
| 109 | // TextBytes returns the process of text (code) size in bytes. |
| 110 | func (s ProcStatm) TextBytes() uint64 { |
| 111 | return s.Text * uint64(os.Getpagesize()) |
| 112 | } |
| 113 | |
| 114 | // DataBytes returns the process of data + stack size in bytes. |
| 115 | func (s ProcStatm) DataBytes() uint64 { |
no outgoing calls