21 const float& window_period,
22 const bool& use_realtime_clock
24 : current_diagnostics()
27 , minimum_interval(100000.0)
28 , maximum_interval(0.0)
29 , period(window_period)
30 , use_realtime_clock(use_realtime_clock)
31 #if defined(ECL_HAS_RT_TIMERS)
32 , last_incoming((use_realtime_clock) ?
ecl::TimeStamp::realtime_now() :
ecl::TimeStamp())
34 , last_incoming(
ecl::TimeStamp())
42 #if defined(ECL_HAS_RT_TIMERS)
43 ecl::TimeStamp new_incoming = (
use_realtime_clock) ? ecl::TimeStamp::realtime_now() : ecl::TimeStamp();
45 ecl::TimeStamp new_incoming = ecl::TimeStamp();
47 ecl::TimeStamp time_since_last = new_incoming -
last_incoming;
58 #if defined(ECL_HAS_RT_TIMERS)
59 ecl::TimeStamp now = ecl::TimeStamp::realtime_now();
61 ecl::TimeStamp now = ecl::TimeStamp();