diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-03-11 20:23:05 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-03-11 20:23:05 +0000 |
commit | 495e153ff97103668e33fcb5f77b01b01c1f7acd (patch) | |
tree | 71d4dcdb849bdce920dff72ba86c05b1753138bd /openmp | |
parent | e2554af857de8497d1e77b17e9f62ae984c48c00 (diff) | |
download | bcm5719-llvm-495e153ff97103668e33fcb5f77b01b01c1f7acd.tar.gz bcm5719-llvm-495e153ff97103668e33fcb5f77b01b01c1f7acd.zip |
[STATS] change TASK_execution name to OMP_task
llvm-svn: 263291
Diffstat (limited to 'openmp')
-rw-r--r-- | openmp/runtime/src/kmp_stats.h | 4 | ||||
-rw-r--r-- | 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 9cc5710d128..e305a16dc5d 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 faf11930c38..3cfd3c53ab5 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 |