The Timer class computes the time elapsed between start and stop.
More...
#include <timer.h>
|
| 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.
|
|
|
std::chrono::time_point< std::chrono::steady_clock > | _startTime |
|
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.
◆ Timer()
The Timer default constructor.
◆ start()
void apfel::Timer::start |
( |
| ) |
|
|
inline |
This function starts the timer.
- Examples
- dglap_test.cc, distribution_test.cc, gpd_test.cc, integrator_test.cc, interpolation_test.cc, massiveCF_test.cc, ogata_test.cc, polylog_test.cc, qgrid_test.cc, set_test.cc, structurefunction_cc_test.cc, structurefunction_nc_pol_test.cc, and structurefunction_nc_test.cc.
◆ stop()
void apfel::Timer::stop |
( |
bool const & | ForceDisplay = false | ) |
|
|
inline |
This function stops the timer and reports the elapsed time in seconds since the last time the timer was started.
- 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.
◆ _startTime
std::chrono::time_point<std::chrono::steady_clock> apfel::Timer::_startTime |
|
private |
The documentation for this class was generated from the following file:
- /Users/vb262523/Codes/apfelxx/inc/apfel/timer.h