diff options
| author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-04-18 17:27:30 +0000 |
|---|---|---|
| committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-04-18 17:27:30 +0000 |
| commit | e2289a427d8865e8596df2a587610781bd4099a4 (patch) | |
| tree | 0eb4270c421125e29b933e4f622fc4314711cde4 /openmp/runtime/src/kmp_stats_timing.h | |
| parent | 53eca5216e51bfd61238ad749f066463a1418b38 (diff) | |
| download | bcm5719-llvm-e2289a427d8865e8596df2a587610781bd4099a4.tar.gz bcm5719-llvm-e2289a427d8865e8596df2a587610781bd4099a4.zip | |
[STATS] Remove timePair class and unused functions
llvm-svn: 266634
Diffstat (limited to 'openmp/runtime/src/kmp_stats_timing.h')
| -rw-r--r-- | openmp/runtime/src/kmp_stats_timing.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/openmp/runtime/src/kmp_stats_timing.h b/openmp/runtime/src/kmp_stats_timing.h index c65a444cac0..0ce0da99a5e 100644 --- a/openmp/runtime/src/kmp_stats_timing.h +++ b/openmp/runtime/src/kmp_stats_timing.h @@ -93,27 +93,4 @@ inline std::string formatTicks(double interval, int width) return formatSI(interval, width, 'T'); } -class timePair -{ - tsc_tick_count KMP_ALIGN_CACHE start; - tsc_tick_count end; - -public: - timePair() : start(-std::numeric_limits<int64_t>::max()), end(-std::numeric_limits<int64_t>::max()) {} - tsc_tick_count get_start() const { return start; } - tsc_tick_count get_end() const { return end; } - tsc_tick_count * get_startp() { return &start; } - tsc_tick_count * get_endp() { return &end; } - - void markStart() { start = tsc_tick_count::now(); } - void markEnd() { end = tsc_tick_count::now(); } - void set_start(tsc_tick_count s) { start = s; } - void set_end (tsc_tick_count e) { end = e; } - - tsc_tick_count::tsc_interval_t duration() const { return end-start; } - std::string format() const; - -}; - -extern tsc_tick_count::tsc_interval_t computeLastInLastOutInterval(timePair * times, int nTimes); #endif // KMP_STATS_TIMING_H |

