cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches

A generic timer to extract the processing time between two steps in this software's flow. More...

#include <CepGen/Utils/Timer.h>

Public Member Functions

 Timer ()
 
 ~Timer ()=default
 
double elapsed () const
 Time elapsed since the last reset call (or class construction)
 
void reset ()
 Reset the clock counter.
 

Detailed Description

Author
Laurent Forthomme laure.nosp@m.nt.f.nosp@m.ortho.nosp@m.mme@.nosp@m.cern..nosp@m.ch

Definition at line 30 of file Timer.h.

Constructor & Destructor Documentation

◆ Timer()

Timer ( )

Definition at line 32 of file Timer.h.

◆ ~Timer()

~Timer ( )
default

Member Function Documentation

◆ elapsed()

double elapsed ( ) const
Returns
Elapsed time (since the last reset), in seconds

Definition at line 37 of file Timer.h.

◆ reset()

void reset ( )

Definition at line 42 of file Timer.h.