Flow 1.0.2
Flow project: Full implementation reference.
|
Convenience wrapper around an array<Time_pt, N>
, which stores a time point for each of the N possible clock types in perf::Clock_type.
More...
#include <clock_type_fwd.hpp>
Public Attributes | |
std::array< Time_pt, size_t(Clock_type::S_END_SENTINEL)> | m_values |
The underlying data, directly readable and writable by user. NOT ZERO-INITIALIZED ON CONSTRUCTION (or ever). More... | |
Related Functions | |
(Note that these are not member functions.) | |
Duration_set | operator- (const Time_pt_set &to, const Time_pt_set &from) |
Returns a Duration_set representing the time that passed since from to to (negative if to happened earlier), for each Clock_type stored. More... | |
Convenience wrapper around an array<Time_pt, N>
, which stores a time point for each of the N possible clock types in perf::Clock_type.
All discussion on Duration_set applies here equally.
Definition at line 195 of file clock_type_fwd.hpp.
|
related |
Returns a Duration_set representing the time that passed since from
to to
(negative if to
happened earlier), for each Clock_type
stored.
to | The minuend set of time points. |
from | The subtrahend set of time points. |
Definition at line 26 of file clock_type.cpp.
References flow::perf::Duration_set::m_values, and m_values.
std::array<Time_pt, size_t(Clock_type::S_END_SENTINEL)> flow::perf::Time_pt_set::m_values |
The underlying data, directly readable and writable by user. NOT ZERO-INITIALIZED ON CONSTRUCTION (or ever).
Definition at line 198 of file clock_type_fwd.hpp.
Referenced by flow::perf::Checkpointing_timer::now(), flow::perf::operator+=(), and operator-().