#include <timer.h>
Public Member Functions | |
| Timer () | |
| ~Timer () | |
| void | Start () |
| void | Stop () |
| void | Reset () |
| double | Time () |
Private Member Functions | |
| double | GetTime () |
Private Attributes | |
| double | time0 |
| double | elapsed |
| bool | running |
| struct timeval | timeofday |
Definition at line 37 of file timer.h.
| double Timer::GetTime | ( | ) | [private] |
| void Timer::Reset | ( | ) |
Definition at line 120 of file timer.cpp.
References elapsed, and running.
Referenced by lux::Scene::Scene().
| void Timer::Start | ( | ) |
Definition at line 105 of file timer.cpp.
References GetTime(), running, and time0.
Referenced by ProgressReporter::ProgressReporter(), lux::Scene::Render(), lux::Scene::Start(), and Time().
| void Timer::Stop | ( | ) |
| double Timer::Time | ( | ) |
Definition at line 126 of file timer.cpp.
References elapsed, running, Start(), and Stop().
Referenced by ProgressReporter::Done(), lux::Scene::Statistics(), lux::Scene::Statistics_SamplesPSec(), lux::Scene::Statistics_SamplesPTotSec(), and ProgressReporter::Update().
double Timer::elapsed [private] |
bool Timer::running [private] |
double Timer::time0 [private] |
struct timeval Timer::timeofday [read, private] |
1.5.9