diff options
Diffstat (limited to 'openmp/runtime/src/kmp_global.c')
| -rw-r--r-- | openmp/runtime/src/kmp_global.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_global.c b/openmp/runtime/src/kmp_global.c index 5519696f8e3..86cd3d204ee 100644 --- a/openmp/runtime/src/kmp_global.c +++ b/openmp/runtime/src/kmp_global.c @@ -28,10 +28,10 @@ kmp_cpuinfo_t __kmp_cpuinfo = { 0 }; // Not initialized kmp_tas_lock_t __kmp_stats_lock; // global list of per thread stats, the head is a sentinel node which accumulates all stats produced before __kmp_create_worker is called. -kmp_stats_list __kmp_stats_list; +kmp_stats_list* __kmp_stats_list; // thread local pointer to stats node within list -__thread kmp_stats_list* __kmp_stats_thread_ptr = &__kmp_stats_list; +__thread kmp_stats_list* __kmp_stats_thread_ptr = NULL; // gives reference tick for all events (considered the 0 tick) tsc_tick_count __kmp_stats_start_time; |

