|
LArOpenCV
1
|
a very simple stopwatch class for simple time measurement More...
#include <Watch.h>
Public Member Functions | |
| Watch () | |
| ~Watch () | |
| void | Start () |
| Start stop watch. More... | |
| double | WallTime () |
| Report wall-clock time [s] since Start() call. More... | |
| double | CPUTime () |
| Report cpu-clock time [s] since Start() call. More... | |
Private Attributes | |
| double | _cpu_time_start |
| double | _wall_time_start |
|
inline |
Report cpu-clock time [s] since Start() call.
Definition at line 51 of file Watch.h.
References _cpu_time_start.
|
inline |
Start stop watch.
Definition at line 33 of file Watch.h.
References _cpu_time_start, and _wall_time_start.
Referenced by larlite::LArImageClusterBase::analyze(), larcv::ImageClusterManager::Process(), and larcv::ImageClusterBase::Process().
|
inline |
Report wall-clock time [s] since Start() call.
Definition at line 42 of file Watch.h.
References _wall_time_start.
Referenced by larlite::LArImageClusterBase::analyze(), larcv::ImageClusterManager::Process(), and larcv::ImageClusterBase::Process().
|
private |
|
private |
Definition at line 59 of file Watch.h.
Referenced by Start(), and WallTime().
1.8.4