#include <LinuxCPUTime.h>
Public Types | |
typedef double | TimeType |
Public Member Functions | |
TimeType | cputime () const |
LinuxCPUTime (int pid=0) | |
constructor | |
TimeType | operator() () const |
TimeType | stime () const |
TimeType | utime () const |
~LinuxCPUTime () | |
destructor | |
Private Attributes | |
TimeType | stime_ |
TimeType | utime_ |
Definition at line 16 of file LinuxCPUTime.h.
typedef double LinuxCPUTime::TimeType |
Definition at line 19 of file LinuxCPUTime.h.
LinuxCPUTime::LinuxCPUTime | ( | int | pid = 0 | ) | [inline, explicit] |
constructor
Definition at line 23 of file LinuxCPUTime.h.
LinuxCPUTime::~LinuxCPUTime | ( | ) | [inline] |
TimeType LinuxCPUTime::cputime | ( | ) | const [inline] |
Definition at line 33 of file LinuxCPUTime.h.
References stime_, and utime_.
Referenced by operator()().
TimeType LinuxCPUTime::operator() | ( | ) | const [inline] |
TimeType LinuxCPUTime::stime | ( | ) | const [inline] |
TimeType LinuxCPUTime::utime | ( | ) | const [inline] |
Definition at line 31 of file LinuxCPUTime.h.
References utime_.
Referenced by LinuxElapsedTime::~LinuxElapsedTime().
{ return utime_;}
TimeType LinuxCPUTime::stime_ [private] |
Definition at line 38 of file LinuxCPUTime.h.
TimeType LinuxCPUTime::utime_ [private] |
Definition at line 37 of file LinuxCPUTime.h.