Definition packet_info.h:40
Definition timestats.h:20
WS_DLL_PUBLIC void time_stat_update(timestat_t *stats, const nstime_t *delta, packet_info *pinfo)
Update time statistics with a new sample.
Definition timestats.c:31
WS_DLL_PUBLIC double get_average(const nstime_t *sum, uint32_t num)
Calculate the average time from a sum of time values.
Definition timestats.c:66
WS_DLL_PUBLIC void time_stat_init(timestat_t *stats)
Initialize a timestat_t structure.
Definition timestats.c:18