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
Addition of new arithmetic performance counter "Count" #3206
Changes from 4 commits
9b01a7b
5680b9e
7cdb5ee
07c53ef
2802945
8cee918
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -645,6 +645,16 @@ namespace hpx | |
&performance_counters::default_counter_discoverer, | ||
"" | ||
}, | ||
// arithmetics count counter | ||
{ "/arithmetics/count", performance_counters::counter_aggregating, | ||
"returns the count value of all values of the specified " | ||
"base counters; pass the required base counters as the parameters: " | ||
"/arithmetics/count@<base_counter_name1>,<base_counter_name2>", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the counter returns the number of values in the accumulator, wouldn't it always return the number of base-counters specified as its argument? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @hkaiser Thanks for the review 😊 . Actually , Yes it will return the number of base-counters . Sorry for being little unclear . As |
||
HPX_PERFORMANCE_COUNTER_V1, | ||
&performance_counters::detail::arithmetics_counter_extended_creator, | ||
&performance_counters::default_counter_discoverer, | ||
"" | ||
}, | ||
}; | ||
performance_counters::install_counter_types( | ||
arithmetic_counter_types, | ||
|
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.
The indentation seems to be off here.