Skip to content

Commit b1f882f

Browse files
authored
[OpenMP][NFC] Remove unused clock function types and globals (#127684)
1 parent c3ebbfd commit b1f882f

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

openmp/runtime/src/kmp.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -521,13 +521,6 @@ enum library_type {
521521
library_throughput
522522
};
523523

524-
#if KMP_OS_LINUX
525-
enum clock_function_type {
526-
clock_function_gettimeofday,
527-
clock_function_clock_gettime
528-
};
529-
#endif /* KMP_OS_LINUX */
530-
531524
#if KMP_MIC_SUPPORTED
532525
enum mic_type { non_mic, mic1, mic2, mic3, dummy };
533526
#endif
@@ -3545,11 +3538,6 @@ extern int __kmp_hot_teams_mode;
35453538
extern int __kmp_hot_teams_max_level;
35463539
#endif
35473540

3548-
#if KMP_OS_LINUX
3549-
extern enum clock_function_type __kmp_clock_function;
3550-
extern int __kmp_clock_function_param;
3551-
#endif /* KMP_OS_LINUX */
3552-
35533541
#if KMP_MIC_SUPPORTED
35543542
extern enum mic_type __kmp_mic_type;
35553543
#endif

openmp/runtime/src/kmp_global.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,6 @@ enum sched_type __kmp_sch_map[kmp_sched_upper - kmp_sched_lower_ext +
242242
// of public intel extension schedules
243243
};
244244

245-
#if KMP_OS_LINUX
246-
enum clock_function_type __kmp_clock_function;
247-
int __kmp_clock_function_param;
248-
#endif /* KMP_OS_LINUX */
249-
250245
#if KMP_MIC_SUPPORTED
251246
enum mic_type __kmp_mic_type = non_mic;
252247
#endif

0 commit comments

Comments
 (0)