![]() |
FlowSieve
3.4.0
FlowSieve Coarse-Graining Documentation
|
Class for storing internal timings. More...
#include <functions.hpp>
Public Member Functions | |
| Timing_Records () | |
| Constructor. Simply initializes entries to time_records as zero. | |
| void | reset () |
| Zero out each value in time_records. | |
| void | add_to_record (const double delta, const std::string record_name) |
| Add delta to the record given by record_name: time_records[record_name] += delta. More... | |
| void | print () const |
| Print the timing information in a human-readable format. | |
Class for storing internal timings.
This class is used to wrap the interal timings into clean expressions.
| void Timing_Records::add_to_record | ( | const double | delta, |
| const std::string | record_name | ||
| ) |
Add delta to the record given by record_name: time_records[record_name] += delta.
| delta | a double indicating the amount of time to add to the record |
| record_name | a string indicating which record should be updating |
