Skip to content

Commit

Permalink
Initializing reset counter in profile constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Mar 25, 2020
1 parent 8ba5090 commit 69f1fa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apex/profile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class profile {
for (int i = 0 ; i < num_metrics ; i++) {
_profile.papi_metrics[i] = papi_metrics[i];
}
times_reset = 0;
#ifdef FULL_STATISTICS
_profile.sum_squares = initial*initial;
_profile.minimum = initial;
Expand Down

0 comments on commit 69f1fa2

Please sign in to comment.