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

Add possibility to append to previous timing #5

Open
nasailja opened this issue Mar 20, 2015 · 1 comment
Open

Add possibility to append to previous timing #5

nasailja opened this issue Mar 20, 2015 · 1 comment

Comments

@nasailja
Copy link

Currently two sets of calls to start+end with the same argument increase the number of calls when calculating calls/s. It would be nice if one could continue the timing of a section i.e. not increase the number of calls when calling start+stop. For example when updating remote neighbor data with dccrg using:

start("update");
start_remote_neighbor_copy_updates();
stop("update");
...
start("update");
wait_remote_neighbor_copy_update_receives();
stop("update");
...
start("update");
wait_remote_neighbor_copy_update_sends();
stop("update");

phiprof would behave as if remote data is updated only once each step. A boolean could be added as an argument to start+stop with default of not appending to previous timing.

@galfthan
Copy link
Member

Ok, I'll add this feature.

@galfthan galfthan added wontfix and removed wontfix labels Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants