FlowSieve  3.4.0
FlowSieve Coarse-Graining Documentation
Timing_Records Class Reference

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.
 

Detailed Description

Class for storing internal timings.

This class is used to wrap the interal timings into clean expressions.

Member Function Documentation

◆ add_to_record()

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.

Parameters
deltaa double indicating the amount of time to add to the record
record_namea string indicating which record should be updating
Here is the caller graph for this function:

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