Skip to content
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

Action invocation count #1774

Merged
merged 5 commits into from Oct 1, 2015
Merged

Action invocation count #1774

merged 5 commits into from Oct 1, 2015

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Sep 29, 2015

Adding performance counters for local and remote action invocation counts:

/runtime/count/action_invocation 
/runtime/count/remote_action_invocation 

The actual action name has to be specified as the parameter argument, for instance:

/runtime/count/action_invocation@set_value_action_gid_type

In order to get all action invocation counts, wildcard characters can be used (as usual):

/runtime/count/action_invocation@*

@sithhell
Copy link
Member

The atomic increment on each invocation doesn't have a significant impact on performance.

#include <hpx/performance_counters/counters.hpp>

#include <hpx/util/jenkins_hash.hpp>
#include <hpx/util/safe_lexical_cast.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems lexical_cast is not used here

@hkaiser
Copy link
Member Author

hkaiser commented Sep 30, 2015

@AntonBikineev Thanks for all the comments you made and I wouldn't mind if you fixed all of this. I might not be able to get back to this too soon.

@hkaiser
Copy link
Member Author

hkaiser commented Sep 30, 2015

@AntonBikineev Thanks a lot! LGTM!

sithhell added a commit that referenced this pull request Oct 1, 2015
@sithhell sithhell merged commit 2b6a410 into master Oct 1, 2015
@sithhell sithhell deleted the action_invocation_count branch October 1, 2015 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants