-
Notifications
You must be signed in to change notification settings - Fork 539
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
[utilities] Create utility classes for interacting with flex counters #1093
Conversation
- Adds utility classes for interacting with flex counters - Updates makefiles to support new utilities Signed-off-by: Danny Allen <daall@microsoft.com>
are you planning to leverage this flex counter manager class for other places using flex counter? |
That's my goal, yes. Eventually I would want to refactor other daemons like the pfcorch and portsorch to use FlexCounterManager instead of re-implementing the same redis messaging schemes. To do that I'll have to extend the functionality to support plugins and such, but I wanted to limit the scope to features needed for the debug counters for this initial PR. |
retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am good, watch others' comments.
retest this please |
Noticed some coding style issue. I think the reference type is usually declared in the format of "type& var" instead of "type &var", especially when var is the only variable defined. Am I too old school? :-) |
retest this please |
retest this please |
Upgrade SAI submodule to support build saithrift with python 3.9 in bullseye Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
[utilities] Create utility classes for interacting with flex counters
Signed-off-by: Danny Allen daall@microsoft.com
Details if related
Related to/spun off from: #1075