22 #ifndef _SYNCPOINT_SYNCPOINT_CALL_STATS_H_ 23 #define _SYNCPOINT_SYNCPOINT_CALL_STATS_H_ 25 #include <syncpoint/syncpoint_call.h> 26 #include <utils/time/time.h> 46 Time total_wait_time_;
47 unsigned int num_calls_;
Time get_last_call() const
Get the last call to the SyncPoint by the component.
float get_waittime_average() const
Get the average wait time.
Fawkes library namespace.
A call (wait() or emit()) to a SyncPoint.
SyncPointCallStats()
Constructor.
A class for handling time.
unsigned int get_num_calls() const
Get total number of calls.
float get_call_frequency() const
Get the call frequency.
void update_calls(const Time &new_call, const Time &wait_time=Time(0.f))
Add a call to the stats.
This class represents call stats of a single component to a single SyncPoint.
Time get_first_call() const
Get the first call to the SyncPoint by the component.