Pothos  0.1.0
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | Public Attributes | List of all members
Pothos::TimeAccumulator Struct Reference

Helper routine to deal with automatically accumulating time durations. More...

#include <WorkStats.hpp>

Public Member Functions

 TimeAccumulator (std::chrono::high_resolution_clock::duration &t)
 
 ~TimeAccumulator (void)
 

Public Attributes

std::chrono::high_resolution_clock::duration & t
 
const
std::chrono::high_resolution_clock::time_point 
start
 

Detailed Description

Helper routine to deal with automatically accumulating time durations.

Constructor & Destructor Documentation

Pothos::TimeAccumulator::TimeAccumulator ( std::chrono::high_resolution_clock::duration &  t)
inline
Pothos::TimeAccumulator::~TimeAccumulator ( void  )
inline

Member Data Documentation

const std::chrono::high_resolution_clock::time_point Pothos::TimeAccumulator::start
std::chrono::high_resolution_clock::duration& Pothos::TimeAccumulator::t

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