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
Adding new performance counter exposing overall scheduler time #2007
Conversation
hkaiser
commented
Feb 28, 2016
- adds missing perf counter: /threads/time/overall
@pagrubel This adds the counter you were asking for. The already existing counter |
3c9d675
to
6de523d
Compare
What's the difference to the already existing uptime performance counter? |
@pagrubel asked to exposed the values which are being used to calculate the various derived counters. This is for her to reduce the error margin as she can calculate all derived values herself. This would also reduce the measurement overhead as she is collecting a large amount of those derived counters. The difference to the uptime counter is that this new counter exposes the core-specific timer instead of an arbitrary one. |
the counter is not available see, I tried changing line 658 but it still did not work, also it looks like this wouldn't require the idle rate flag but shouldn't it? hpx/src/runtime/threads/threadmanager.cpp Lines 657 to 663 in 6de523d
|
- adds missing perf counter: /threads/time/overall
6de523d
to
7df14b5
Compare
@pagrubel This should be fine now. And no, you don't need to enable the idle-rate stuff. This information is collected always. |
@hkaiser did you push a change I don't see one |
@hkaiser but does when the flag is set for the build: |
So I stand corrected... (I should have looked more carefully), I'll add a note to that effect to the docs. |
I find myself going down rabbit holes with this seems like some of the other counters are not working correctly |
Could you be a bit more specific, please? |
I will try but I need to leave this right now |
I'm going to merge this. Please open a ticket if you're running into problems with the new counter. |
Adding new performance counter exposing overall scheduler time