VPTissue Reference Manual
SimPT_Sim::ClockMan::ClockCLib Class Reference

Clock based on C library clock_t clock() which returns an approximate processor time in ticks. More...

#include <ClockCLib.h>

Collaboration diagram for SimPT_Sim::ClockMan::ClockCLib:
Collaboration graph

Public Types

typedef std::chrono::milliseconds duration
 
typedef duration::period period
 
typedef duration::rep rep
 
typedef std::chrono::time_point< ClockCLib, duration > time_point
 

Static Public Member Functions

static time_point now ()
 

Detailed Description

Clock based on C library clock_t clock() which returns an approximate processor time in ticks.

There are CLOCKS_PER_SEC ticks per second and POSIX requires this be 1000000.

Definition at line 34 of file ClockCLib.h.


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