SCIRun
5.0
|
#include <Timer.h>
Public Types | |
enum | timer_state_e { Stopped, Running } |
Public Member Functions | |
Timer () | |
virtual | ~Timer () |
void | start () |
void | stop () |
void | clear () |
double | time () |
void | add (double t) |
timer_state_e | state () |
Protected Member Functions | |
virtual double | get_time ()=0 |
enum timer_state_e |
Timer | ( | ) |
|
virtual |
void add | ( | double | t | ) |
void clear | ( | ) |
|
protectedpure virtual |
Implemented in WallClockTimer, and CPUTimer.
void start | ( | ) |
|
inline |
void stop | ( | ) |
double time | ( | ) |