VPTissue Reference Manual
SimPT_Sim::ClockMan Namespace Reference

Namespace for clock and timekeeping related classes. More...

Classes

class  ClockCLib
 Clock based on C library clock_t clock() which returns an approximate processor time in ticks. More...
 
class  ClockTraits
 Types related to timekeeping. More...
 
class  CumulativeRecords
 Utility class to record durations in a cumulative manner. More...
 
class  IndividualRecords
 Utility class to record durations. More...
 
class  Stopwatch
 Provides a stopwatch interface to time: it accumulates time between start/stop pairs. More...
 
class  Timeable
 Utility class to for timing. More...
 
class  TimeStamp
 Provides wall-clock time stamp using the time call. More...
 
struct  Utils
 Utilities to tag clocks and to reformat number of ticks to a string. More...
 

Functions

std::ostream & operator<< (std::ostream &os, TimeStamp t)
 TimeStamp helper inserts string representation in output stream.
 
template<typename T >
std::ostream & operator<< (std::ostream &oss, Stopwatch< T > const &stopwatch)
 Insert accumulated time into output stream without altering stopwatch state.
 
std::ostream & operator<< (std::ostream &os, CumulativeRecords< std::chrono::nanoseconds > const &dr)
 Nicely formated output with nanoseconds.
 
std::ostream & operator<< (std::ostream &os, CumulativeRecords< std::chrono::microseconds > const &dr)
 Nicely formated output with microseconds.
 
std::ostream & operator<< (std::ostream &os, IndividualRecords< std::chrono::microseconds > const &dr)
 Nicely formated output with microseconds.
 
std::ostream & operator<< (std::ostream &os, CumulativeRecords< std::chrono::milliseconds > const &dr)
 Nicely formated output with milliseconds.
 
std::ostream & operator<< (std::ostream &os, IndividualRecords< std::chrono::milliseconds > const &dr)
 Nicely formated output with milliseconds.
 
std::ostream & operator<< (std::ostream &os, CumulativeRecords< std::chrono::seconds > const &dr)
 Nicely formated output with seconds.
 
std::ostream & operator<< (std::ostream &os, IndividualRecords< std::chrono::seconds > const &dr)
 Nicely formated output with seconds.
 
template<typename T >
std::ostream & operator<< (std::ostream &os, CumulativeRecords< T > const &dr)
 Pretty print of chrono recordings on output stream.
 
template<typename T >
std::ostream & operator<< (std::ostream &os, IndividualRecords< T > const &dr)
 Pretty print of chrono recordings on output stream.
 

Detailed Description

Namespace for clock and timekeeping related classes.