1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
class Timer
{
%TypeHeaderCode
#include <BALL/SYSTEM/timer.h>
%End
public:
Timer();
Timer(Timer&);
~Timer();
bool isRunning() const;
bool isValid() const;
bool operator != (const Timer&) const;
bool operator < (const Timer&) const;
bool operator <= (const Timer&) const;
bool operator == (const Timer&) const;
bool operator > (const Timer&) const;
bool operator >= (const Timer&) const;
bool start();
bool stop();
double getCPUTime() const;
double getClockTime() const;
double getSystemTime() const;
double getUserTime() const;
void clear();
void reset();
};
|