![]() |
The Gaudi Framework
v28r2p1 (f1a77ff4)
|
Simple class to hold the time information of a process. More...
#include <GaudiKernel/Timing.h>
Public Types | |
| typedef long long | TimeValueType |
Public Member Functions | |
| ProcessTime () | |
| Constructor. More... | |
| ProcessTime (TimeValueType k, TimeValueType u, TimeValueType e) | |
| Constructor. More... | |
| template<TimeType T> | |
| TimeValueType | kernelTime () const |
| Retrieve the kernel time in the requested unit. More... | |
| template<TimeType T> | |
| TimeValueType | userTime () const |
| Retrieve the user time in the requested unit. More... | |
| template<TimeType T> | |
| TimeValueType | elapsedTime () const |
| Retrieve the elapsed time in the requested unit. More... | |
| template<TimeType T> | |
| TimeValueType | cpuTime () const |
| Retrieve the CPU (user+kernel) time in the requested unit. More... | |
| ProcessTime | operator- (const ProcessTime &rhs) const |
Return the delta between two ProcessTime objects. More... | |
| ProcessTime & | operator+= (const ProcessTime &rhs) |
| Add the timings to the current objects. More... | |
Private Attributes | |
| TimeValueType | i_kernel |
| Internal storage. More... | |
| TimeValueType | i_user |
| TimeValueType | i_elapsed |
Simple class to hold the time information of a process.
Simplify the simultaneous handling of kernel, user and elapsed times of a process.
| typedef long long System::ProcessTime::TimeValueType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |