Grid 0.7.0
Timer.h File Reference
#include <sys/time.h>
#include <ctime>
#include <chrono>

Go to the source code of this file.

Data Structures

class  GridStopWatch

Typedefs

typedef std::chrono::high_resolution_clock GridClock
typedef std::chrono::time_point< GridClockGridTimePoint
typedef std::chrono::seconds GridSecs
typedef std::chrono::milliseconds GridMillisecs
typedef std::chrono::microseconds GridUsecs
typedef std::chrono::microseconds GridTime

Functions

double usecond (void)
std::ostream & operator<< (std::ostream &stream, const GridSecs &time)
std::ostream & operator<< (std::ostream &stream, const GridMillisecs &now)
std::ostream & operator<< (std::ostream &stream, const GridUsecs &now)

Variables

GridTimePoint theProgramStart

Typedef Documentation

◆ GridClock

typedef std::chrono::high_resolution_clock GridClock

Definition at line 39 of file Timer.h.

◆ GridTimePoint

typedef std::chrono::time_point<GridClock> GridTimePoint

Definition at line 40 of file Timer.h.

◆ GridSecs

typedef std::chrono::seconds GridSecs

Definition at line 42 of file Timer.h.

◆ GridMillisecs

typedef std::chrono::milliseconds GridMillisecs

Definition at line 43 of file Timer.h.

◆ GridUsecs

typedef std::chrono::microseconds GridUsecs

Definition at line 44 of file Timer.h.

◆ GridTime

typedef std::chrono::microseconds GridTime

Definition at line 45 of file Timer.h.

Function Documentation

◆ usecond()

double usecond ( void )
inline

Definition at line 50 of file Timer.h.

References theProgramStart, and usecond().

Referenced by GridBLAS::benchmark(), blockInnerProductD(), blockProject(), blockProjectFast(), GeneralCoarsenedMatrix< Fobj, CComplex, nbasis >::CoarsenOperator(), MultiGeneralCoarsenedMatrix< Fobj, CComplex, nbasis >::CoarsenOperator(), SmearedConfigurationMasked< Gimpl >::Compute_MpInvJx_dNxxdSy(), BaryonUtils< FImpl >::ContractBaryons(), Cshift(), Cshift_comms(), Cshift_comms_simd(), MultiRHSDeflation< Field >::DeflateSources(), ScalarInteractionAction< ScalarNxNAdjImplR< Colours >, Dimensions >::deriv(), Action< Field > *::deriv_timer_start(), Action< Field > *::deriv_timer_stop(), HybridMonteCarlo< IntegratorType >::evolve(), PaddedCell::Expand(), PaddedCell::Face_exchange(), GridParallelRNG::fill(), SmearedConfigurationMasked< Gimpl >::fill_smearedSet(), GridBLAS::gemmBatched(), GridBLAS::gemmBatched(), GridBLAS::gemmBatched(), GridBLAS::gemmBatched(), WilsonLoops< Gimpl >::WilsonLoopPaddedStencilWorkspace::generateStencil(), CompactWilsonCloverFermion5D< Impl, CloverHelpers >::ImportGauge(), CompactWilsonCloverFermion< Impl, CloverHelpers >::ImportGauge(), WilsonCloverFermion< Impl, CloverHelpers >::ImportGauge(), MultiRHSBlockCGLinalg< Field >::InnerProductMatrix(), SmearedConfigurationMasked< Gimpl >::logDetJacobian(), SmearedConfigurationMasked< Gimpl >::logDetJacobianForce(), SmearedConfigurationMasked< Gimpl >::logDetJacobianForceLevel(), MultiGeneralCoarsenedMatrix< Fobj, CComplex, nbasis >::M(), CompactWilsonCloverHelpers< Impl >::ModifyBoundaries(), MultiRHSBlockCGLinalg< Field >::MulMatrix(), GeneralCoarsenedMatrix< Fobj, CComplex, nbasis >::Mult(), ConjugateGradient< Field >::operator()(), ImplicitlyRestartedLanczos< Field >::orthogonalize(), WilsonLoops< PeriodicGimplR >::RectStaplePaddedAll(), Action< Field > *::refresh_timer_start(), Action< Field > *::refresh_timer_stop(), Action< Field > *::S_timer_start(), Action< Field > *::S_timer_stop(), SmearedConfiguration< Gimpl >::set_Field(), SmearedConfiguration< Gimpl >::smeared_force(), SmearedConfigurationMasked< Gimpl >::smeared_force(), WilsonLoops< PeriodicGimplR >::StapleAndRectStapleAll(), WilsonLoops< PeriodicGimplR >::StaplePaddedAll(), TwoLevelCGmrhs< Field >::ThinQRfact(), ScalarAdjMatrixImplTypes< vComplex, Nc >::update_field(), Integrator< Implementation, S, RepresentationsPolicy >::update_P(), and usecond().

◆ operator<<() [1/3]

std::ostream & operator<< ( std::ostream & stream,
const GridSecs & time )
inline

Definition at line 56 of file Timer.h.

◆ operator<<() [2/3]

std::ostream & operator<< ( std::ostream & stream,
const GridMillisecs & now )
inline

Definition at line 61 of file Timer.h.

◆ operator<<() [3/3]

std::ostream & operator<< ( std::ostream & stream,
const GridUsecs & now )
inline

Definition at line 71 of file Timer.h.

Variable Documentation

◆ theProgramStart

GridTimePoint theProgramStart
extern

Definition at line 35 of file PerfCount.cc.

Referenced by usecond().