// -*- c-basic-offset: 4 -*- #ifndef CLICK_TIMESTAMPACCUM_HH #define CLICK_TIMESTAMPACCUM_HH #include CLICK_DECLS /* =c TimestampAccum() =s timestamps collects differences in timestamps =d For each passing packet, measures the elapsed time since the packet's timestamp. Keeps track of the total elapsed time accumulated over all packets. =n =h count read-only Returns the number of packets that have passed. =h time read-only Returns the accumulated timestamp difference for all passing packets. =h average_time read-only Returns the average timestamp difference over all passing packets. =h reset_counts write-only Resets C and C