#include <RateTracker.h>
Public Member Functions | |
RateTracker & | operator++ () |
Increments the count being tracked. | |
double | sampleRatePerSecond () |
Returns the rate of increments per second since last called. |
Definition at line 34 of file RateTracker.h.
RateTracker& qpid::broker::RateTracker::operator++ | ( | ) |
Increments the count being tracked.
Can be called concurrently with other calls to this operator as well as with calls to sampleRatePerSecond().
double qpid::broker::RateTracker::sampleRatePerSecond | ( | ) |
Returns the rate of increments per second since last called.
Calls to this method should be serialised, but can be called concurrently with the increment operator