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 190 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 |
CPU time. More... | |
Clock_t::time_point | fStartTime |
Wall clock time. More... | |
#include <ROOT/RNTupleMetrics.hxx>
|
private |
Definition at line 192 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 202 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 211 of file RNTupleMetrics.hxx.
|
delete |
|
delete |
|
private |
Definition at line 195 of file RNTupleMetrics.hxx.
|
private |
Definition at line 194 of file RNTupleMetrics.hxx.
|
private |
CPU time.
Definition at line 199 of file RNTupleMetrics.hxx.
|
private |
Wall clock time.
Definition at line 197 of file RNTupleMetrics.hxx.