Paramotopy
parallel parameter homotopy through bertini
|
Small class, with no methods, for holding timing data. More...
#include <timing.hpp>
Public Member Functions | |
timer_data () | |
Public Attributes | |
std::chrono::high_resolution_clock::time_point | t1 |
std::chrono::milliseconds | elapsed_time |
int | num_calls_timed |
Small class, with no methods, for holding timing data.
the timer_data class is for use in conjunction with the timer class below, via a map. it holds elapsed time, a start time, and a number of times it has been incremented. the methods for adjusting these are all set in the timer class. this merely holds the data
Definition at line 36 of file timing.hpp.
|
inline |
default constructor
Definition at line 55 of file timing.hpp.
std::chrono::milliseconds timer_data::elapsed_time |
total elapsed time so far. incremented by adding time.
Definition at line 47 of file timing.hpp.
int timer_data::num_calls_timed |
how many times this category has been timed.
Definition at line 50 of file timing.hpp.
std::chrono::high_resolution_clock::time_point timer_data::t1 |
start time. set by pushing start.
Definition at line 44 of file timing.hpp.