-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resetting device stats on X552 #77
Comments
getThroughput() no longer resets the stats, this was changed because we moved to using the DPDK stats functions on some NICs to support more NICs; so the comment is wrong. What would be needed is an explizit reset for the device counters; current the device counters are just that: count everything the device has seen. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
running the following script:
produces as output:
which is, in my opinion, unexpected.
I'd expect the last line to report 0 packets/bytes, since
stats:newDevTxCounter
libmoon/lua/stats.lua
Line 456 in db11ff1
promises to reset stats.
Am I missing something?
Thanks!
Regards,
Sharlene
The text was updated successfully, but these errors were encountered: