From 495e153ff97103668e33fcb5f77b01b01c1f7acd Mon Sep 17 00:00:00 2001 From: Jonathan Peyton Date: Fri, 11 Mar 2016 20:23:05 +0000 Subject: [PATCH] [STATS] change TASK_execution name to OMP_task llvm-svn: 263291 --- openmp/runtime/src/kmp_stats.h | 4 ++-- openmp/runtime/src/kmp_tasking.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openmp/runtime/src/kmp_stats.h b/openmp/runtime/src/kmp_stats.h index 9cc5710..e305a16 100644 --- a/openmp/runtime/src/kmp_stats.h +++ b/openmp/runtime/src/kmp_stats.h @@ -114,7 +114,7 @@ class stats_flags_e { macro (OMP_barrier, 0, arg) \ macro (FOR_static_scheduling, 0, arg) \ macro (FOR_dynamic_scheduling, 0, arg) \ - macro (TASK_execution, 0, arg) \ + macro (OMP_task, 0, arg) \ macro (OMP_single, 0, arg) \ macro (OMP_master, 0, arg) \ macro (OMP_set_numthreads, stats_flags_e::noUnits, arg) \ @@ -129,7 +129,7 @@ class stats_flags_e { // OMP_serial -- thread zero time executing serial code // OMP_work -- elapsed time in code dispatched by a fork (measured in the thread) // OMP_barrier -- time at "real" barriers (includes task time) -// TASK_execution -- time spent executing tasks +// OMP_task -- time spent executing tasks // FOR_static_iterations -- Available parallelism in statically scheduled for loops // FOR_dynamic_iterations -- Available parallelism in dynamically scheduled for loops // FOR_static_scheduling -- time spent doing scheduling for a static "for" diff --git a/openmp/runtime/src/kmp_tasking.c b/openmp/runtime/src/kmp_tasking.c index faf1193..3cfd3c5 100644 --- a/openmp/runtime/src/kmp_tasking.c +++ b/openmp/runtime/src/kmp_tasking.c @@ -1166,7 +1166,7 @@ __kmp_invoke_task( kmp_int32 gtid, kmp_task_t *task, kmp_taskdata_t * current_ta // if (!discard) { KMP_COUNT_BLOCK(TASK_executed); - KMP_TIME_BLOCK (TASK_execution); + KMP_TIME_BLOCK (OMP_task); #endif // OMP_40_ENABLED #if OMPT_SUPPORT && OMPT_TRACE -- 2.7.4