Record wall time and CPU time between construction and destruction.
Uses RAII as a stop watch. Only the wall time counter is used to determine whether the timer is active.
Definition at line 242 of file RNTupleMetrics.hxx.
Public Member Functions | |
| RNTupleTimer (const RNTupleTimer &other)=delete | |
| RNTupleTimer (WallTimeT &ctrWallTime, CpuTimeT &ctrCpuTicks) | |
| ~RNTupleTimer () | |
| RNTupleTimer & | operator= (const RNTupleTimer &other)=delete |
Private Types | |
| using | Clock_t = std::chrono::steady_clock |
Private Attributes | |
| CpuTimeT & | fCtrCpuTicks |
| WallTimeT & | fCtrWallTime |
| clock_t | fStartTicks = 0 |
| CPU time. | |
| Clock_t::time_point | fStartTime |
| Wall clock time. | |
#include <ROOT/RNTupleMetrics.hxx>
|
private |
Definition at line 244 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 254 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 263 of file RNTupleMetrics.hxx.
|
delete |
|
delete |
|
private |
Definition at line 247 of file RNTupleMetrics.hxx.
|
private |
Definition at line 246 of file RNTupleMetrics.hxx.
|
private |
CPU time.
Definition at line 251 of file RNTupleMetrics.hxx.
|
private |
Wall clock time.
Definition at line 249 of file RNTupleMetrics.hxx.