Flow 1.0.1
Flow project: Public API.
Public Attributes | Related Functions | List of all members
flow::perf::Time_pt_set Struct 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).
 

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...
 

Detailed Description

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.

Friends And Related Function Documentation

◆ operator-()

Duration_set operator- ( const Time_pt_set to,
const Time_pt_set from 
)
related

Returns a Duration_set representing the time that passed since from to to (negative if to happened earlier), for each Clock_type stored.

Parameters
toThe minuend set of time points.
fromThe subtrahend set of time points.
Returns
See above.

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