diff --git a/openmp/runtime/src/kmp_stats.cpp b/openmp/runtime/src/kmp_stats.cpp index ffb9b90adf9a..a4c626b988d3 100644 --- a/openmp/runtime/src/kmp_stats.cpp +++ b/openmp/runtime/src/kmp_stats.cpp @@ -343,7 +343,10 @@ void kmp_stats_output_module::printTimerStats(FILE *statsOut, statistic const * char tag = timeStat::noUnits(s) ? ' ' : 'T'; fprintf (statsOut, "%-28s, %s\n", timeStat::name(s), stat->format(tag, true).c_str()); - // Also print the Total_ versions of times. + } + // Also print the Total_ versions of times. + for (timer_e s = timer_e(0); s