Memory usage information for the process running this object.
More...
|
int | peak_ |
| Peak memory used by the process (VmPeak in /proc/<pid>/status) More...
|
|
int | size_ |
| Memory used by the process (VmSize in /proc/<pid>/status) More...
|
|
int | rss_ |
| Resident set size of the process (VmRSS in /proc/<pid>/status) More...
|
|
Memory usage information for the process running this object.
- Note
- Uses the information from /proc/<pid>/status
- Source files
-
Definition at line 53 of file memInfo.H.
◆ memInfo()
◆ ~memInfo()
◆ update()
◆ peak()
Access the stored peak memory (VmPeak in /proc/<pid>/status)
The value is stored from the previous update()
Definition at line 88 of file memInfo.H.
◆ size()
◆ rss()
Access the stored rss value (VmRSS in /proc/<pid>/status)
The value is stored from the previous update()
Definition at line 102 of file memInfo.H.
◆ valid()
◆ operator>>
Read peak/size/rss from stream.
◆ operator<<
Write peak/size/rss to stream.
◆ peak_
Peak memory used by the process (VmPeak in /proc/<pid>/status)
Definition at line 58 of file memInfo.H.
◆ size_
Memory used by the process (VmSize in /proc/<pid>/status)
Definition at line 61 of file memInfo.H.
◆ rss_
Resident set size of the process (VmRSS in /proc/<pid>/status)
Definition at line 64 of file memInfo.H.
The documentation for this class was generated from the following files: