-
Notifications
You must be signed in to change notification settings - Fork 373
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
Add optional support for per-thread timers and timing MPI synchronization #3378
Conversation
… thread synchronization time
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.
@JanVogelsang Thanks for the PR! Please look at my comments starting at the very end—I am wondering another approach that would avoid macros.
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.
…r into nest-master
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.
@JanVogelsang Thanks a lot, this is a very nice implementation! I have some comments, mostly related to naming, const-ness and documentation.
Co-authored-by: Hans Ekkehard Plesser <[email protected]>
@JanVogelsang This looks very good now. I just sent you a PR that solves the Clang compilation problem (gcc is too lenient ...). |
Fix build failure with clang/macos
@heplesser Thanks for the PR! Should we also get rid of the timers namespace? |
We can keep it for now, maybe remove it in a later PR. |
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.
@JanVogelsang Good to go now!
Added option to measure timers per thread and added timers to measure thread synchronization time. With this PR, we are hoping to be able to identify idle time of individual threads and identify black time present with the current timers.