37class EventFilter :
public EventSync {
41 void CreatePorts()
override;
60 EventCounter& event_counter,
61 std::vector<TimePoint>& arrival_times,
62 std::vector<uint64_t>& arrival_timestamps);
65 inline double time_between(TimePoint t2, TimePoint t1) {
67 return duration.count();
71 inline double time_since(TimePoint t) {
return time_between(Clock::now(), t); }
79 unsigned int n_blocked_events_;
80 EventCounter blocking_events_counter_;
81 TimePoint gate_close_time_;
82 std::chrono::duration<double, std::milli> duration;
86 const uint64_t NULL_TIMESTAMP = std::numeric_limits<uint64_t>::max();
90 options::Measurement<double, false> blockout_time_{10.,
"ms", options::positive<double>()};
92 options::Measurement<double, false> block_wait_time_{1.5,
"ms", options::positive<double>()};
94 options::Measurement<double, false> sync_time_{3.5,
"ms", options::positive<double>()};
96 options::Bool discard_warnings_{
false};
Definition context.hpp:54
Definition runinfo.hpp:248