23 #ifndef __ccxx_PulseTimer_hxx 24 #define __ccxx_PulseTimer_hxx 67 {
return((_count > 0) ? _last : 0); }
79 virtual void pulse(
const time_ms_t& now) = 0;
91 #endif // __ccxx_PulseTimer_hxx
int64_t time_ms_t
A time expressed in milliseconds since the epoch (00:00:00, UTC, January 1, 1970).
Definition: Integers.h++:98
uint32_t getPulseCount() const
Get the pluse count, i.e., the number of times the timer has fired.
Definition: PulseTimer.h++:57
#define COMMONCPP_API
Definition: Common.h++:126
int timespan_s_t
A timespan expressed in seconds.
Definition: Integers.h++:91
time_ms_t getLastPulseTime() const
Get the time at which the timer last fired.
Definition: PulseTimer.h++:66
A timer that fires at regular intervals, with a resolution of 1 second.
Definition: PulseTimer.h++:39
int timespan_ms_t
A timespan expressed in milliseconds.
Definition: Integers.h++:104
A thread of execution.
Definition: Thread.h++:55
Definition: AllocationMap.c++:25