Paramotopy
parallel parameter homotopy through bertini
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
timer_data Class Reference

Small class, with no methods, for holding timing data. More...

#include <timing.hpp>

Collaboration diagram for timer_data:
[legend]

Public Member Functions

 timer_data ()
 

Public Attributes

std::chrono::high_resolution_clock::time_point t1
 
std::chrono::milliseconds elapsed_time
 
int num_calls_timed
 

Detailed Description

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.

Constructor & Destructor Documentation

timer_data::timer_data ( )
inline

default constructor

Definition at line 55 of file timing.hpp.

Member Data Documentation

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.


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