fix Queue OUT stat

This commit is contained in:
Brad Hefta-Gaub 2015-10-15 11:41:04 -07:00
parent 2ae62de84e
commit b7c40c2df1

View file

@ -45,7 +45,7 @@ bool ReceivedPacketProcessor::process() {
float incomingPacketsPerSecondInWindow = (float)_lastWindowIncomingPackets / secondsSinceLastWindow;
_incomingPPS.updateAverage(incomingPacketsPerSecondInWindow);
float processedPacketsPerSecondInWindow = (float)_lastWindowIncomingPackets / secondsSinceLastWindow;
float processedPacketsPerSecondInWindow = (float)_lastWindowProcessedPackets / secondsSinceLastWindow;
_processedPPS.updateAverage(processedPacketsPerSecondInWindow);
_lastWindowAt = now;