Belle II Software light-2406-ragdoll
|
Store execution time and memory usage. More...
#include <ProfileInfo.h>
Public Member Functions | |
ProfileInfo (unsigned long virtualMemory=0, unsigned long rssMemory=0, double timeInSec=0) | |
Constructor. | |
void | set (double timeOffset=0) |
Obtain the current profile values. | |
unsigned long | getVirtualMemory () const |
Virtual Memory size getter. | |
unsigned long | getRssMemory () const |
Rss Memory size getter. | |
double | getTimeInSec () const |
Time getter. | |
Private Member Functions | |
ClassDef (ProfileInfo, 2) | |
Store execution time and memory usage. | |
Private Attributes | |
unsigned long | m_virtualMemory |
Virtual Memory size in kB. | |
unsigned long | m_rssMemory |
Resident Memory size in kB. | |
double | m_timeInSec |
Time used by this process in seconds. | |
Store execution time and memory usage.
Class for execution time and memory usage information.
Definition at line 22 of file ProfileInfo.h.
|
inline |
Constructor.
Initializes meta data of event with Nulls.
Definition at line 29 of file ProfileInfo.h.
|
inline |
Rss Memory size getter.
Definition at line 49 of file ProfileInfo.h.
|
inline |
|
inline |
Virtual Memory size getter.
Definition at line 40 of file ProfileInfo.h.
void set | ( | double | timeOffset = 0 | ) |
Obtain the current profile values.
Definition at line 16 of file ProfileInfo.cc.
|
private |
Resident Memory size in kB.
Definition at line 71 of file ProfileInfo.h.
|
private |
Time used by this process in seconds.
Definition at line 75 of file ProfileInfo.h.
|
private |
Virtual Memory size in kB.
Definition at line 67 of file ProfileInfo.h.