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_;
This class represents call stats of a single component to a single SyncPoint.
float get_call_frequency() const
Get the call frequency.
SyncPointCallStats()
Constructor.
void update_calls(const Time &new_call, const Time &wait_time=Time(0.f))
Add a call to the stats.
Time get_first_call() const
Get the first call to the SyncPoint by the component.
float get_waittime_average() const
Get the average wait time.
unsigned int get_num_calls() const
Get total number of calls.
Time get_last_call() const
Get the last call to the SyncPoint by the component.
A call (wait() or emit()) to a SyncPoint.
A class for handling time.
Fawkes library namespace.