Memory usage information for the current process, and the system memory that is free.
More...
Memory usage information for the current process, and the system memory that is free.
- Note
- Windows variant does nothing.
- Source files
-
- Note
- Uses the information from /proc/PID/status and from /proc/meminfo
- Source files
-
Definition at line 62 of file memInfo.H.
◆ memInfo() [1/2]
◆ ~memInfo() [1/2]
◆ memInfo() [2/2]
Construct and populate with values.
◆ ~memInfo() [2/2]
◆ valid() [1/2]
True if the memory information appears valid.
Definition at line 51 of file memInfo.C.
◆ clear() [1/2]
Reset to zero.
Definition at line 57 of file memInfo.C.
◆ update() [1/2]
◆ peak() [1/2]
◆ size() [1/2]
◆ rss() [1/2]
Resident set size (VmRSS in /proc/PID/status) at last update()
Definition at line 115 of file memInfo.H.
◆ free() [1/2]
System memory free (MemFree in /proc/meminfo)
Definition at line 121 of file memInfo.H.
◆ write() [1/2]
◆ valid() [2/2]
True if the memory information appears valid.
◆ clear() [2/2]
◆ update() [2/2]
Update according to /proc/PID/status and /proc/memory contents.
◆ peak() [2/2]
◆ size() [2/2]
◆ rss() [2/2]
Resident set size (VmRSS in /proc/PID/status) at last update()
Definition at line 115 of file memInfo.H.
◆ free() [2/2]
System memory free (MemFree in /proc/meminfo)
Definition at line 121 of file memInfo.H.
◆ write() [2/2]
Write content as dictionary entries.
◆ operator>> [1/2]
Read peak/size/rss from stream.
◆ operator<< [1/2]
Write peak/size/rss to stream.
◆ operator>> [2/2]
Read peak/size/rss from stream.
◆ operator<< [2/2]
Write peak/size/rss to stream.
The documentation for this class was generated from the following files: