APFEL 4.8.0
A PDF evolution library in C++
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
apfel::Timer Class Reference

The Timer class computes the time elapsed between start and stop. More...

#include <timer.h>

Public Member Functions

 Timer ()
 The Timer default constructor.
 
void start ()
 This function starts the timer.
 
void stop (bool const &ForceDisplay=false)
 This function stops the timer and reports the elapsed time in seconds since the last time the timer was started.
 

Private Attributes

std::chrono::time_point< std::chrono::steady_clock > _startTime
 

Detailed Description

The Timer class computes the time elapsed between start and stop.

Examples
dglap_test.cc, distribution_test.cc, gpd_test.cc, integrator_test.cc, interpolation_test.cc, massiveCF_test.cc, ogata_test.cc, operator_test.cc, polylog_test.cc, qgrid_test.cc, qgriddist_test.cc, set_test.cc, structurefunction_cc_test.cc, structurefunction_massive_test.cc, structurefunction_nc_pol_test.cc, structurefunction_nc_test.cc, and tmd_test.cc.

Constructor & Destructor Documentation

◆ Timer()

apfel::Timer::Timer ( )
inline

The Timer default constructor.

Member Function Documentation

◆ start()

void apfel::Timer::start ( )
inline

◆ stop()

void apfel::Timer::stop ( bool const & ForceDisplay = false)
inline

Member Data Documentation

◆ _startTime

std::chrono::time_point<std::chrono::steady_clock> apfel::Timer::_startTime
private

The documentation for this class was generated from the following file: