[STATS] change TASK_execution name to OMP_task
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Fri, 11 Mar 2016 20:23:05 +0000 (20:23 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Fri, 11 Mar 2016 20:23:05 +0000 (20:23 +0000)
llvm-svn: 263291

openmp/runtime/src/kmp_stats.h
openmp/runtime/src/kmp_tasking.c

index 9cc5710..e305a16 100644 (file)
@@ -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"
index faf1193..3cfd3c5 100644 (file)
@@ -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