#include <MemoryLogger.h>
A small helper class looking at /proc/<PID>status
to monitor the memory usage of the Geometry objects
- Author
- Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Definition at line 30 of file MemoryLogger.h.
◆ MemoryLogger()
Trk::MemoryLogger::MemoryLogger |
( |
| ) |
|
◆ refresh()
void Trk::MemoryLogger::refresh |
( |
int |
pid | ) |
const |
update the memory logger
Definition at line 19 of file MemoryLogger.cxx.
34 if (
buff ==
"VmSize:")
44 #warning MemoryLogger does not yet work on the mac.
◆ vmRss()
float Trk::MemoryLogger::vmRss |
( |
| ) |
const |
|
inline |
◆ vmSize()
float Trk::MemoryLogger::vmSize |
( |
| ) |
const |
|
inline |
◆ m_rss
std::atomic<float> Trk::MemoryLogger::m_rss |
|
mutableprivate |
◆ m_vsize
std::atomic<float> Trk::MemoryLogger::m_vsize |
|
mutableprivate |
The documentation for this class was generated from the following files: