![]() |
ATLAS Offline Software
|
A small helper class looking at /proc/<PID>status. More...
#include <MemoryLogger.h>
Public Member Functions | |
| MemoryLogger () | |
| Default constructor. | |
| void | refresh (int pid) const |
| update the memory logger | |
| float | vmSize () const |
| vsize/rss returnal | |
| float | vmRss () const |
Private Attributes | |
| std::atomic< float > | m_vsize |
| virtual memory size | |
| std::atomic< float > | m_rss |
| real memory size | |
A small helper class looking at /proc/<PID>status.
to monitor the memory usage of the Geometry objects
Definition at line 30 of file MemoryLogger.h.
| Trk::MemoryLogger::MemoryLogger | ( | ) |
Default constructor.
Definition at line 13 of file MemoryLogger.cxx.
| void Trk::MemoryLogger::refresh | ( | int | pid | ) | const |
update the memory logger
Definition at line 19 of file MemoryLogger.cxx.
|
inline |
Definition at line 55 of file MemoryLogger.h.
|
inline |
|
mutableprivate |
real memory size
Definition at line 45 of file MemoryLogger.h.
|
mutableprivate |
virtual memory size
Definition at line 44 of file MemoryLogger.h.