diff options
author | Tim Shen <timshen91@gmail.com> | 2017-02-10 20:30:43 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2017-02-10 20:30:43 +0000 |
commit | 324a908382143d80dae617cab136e3f303614ecb (patch) | |
tree | 87fddeda987de2c73ce2e95ad06d2cc786f39586 /lib/xray/xray_utils.h | |
parent | fc4a9bfb5dfdb119894a2a34aff047d14dad0198 (diff) |
[XRay] Refactor TSC related functions into a single header. NFC.
Summary:
The implementation, however, is in different arch-specific files, unless it's emulated.
Reviewers: dberris, pelikan, javed.absar
Subscribers: aemerson, llvm-commits
Differential Revision: https://reviews.llvm.org/D29796
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@294777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/xray/xray_utils.h')
-rw-r--r-- | lib/xray/xray_utils.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/xray/xray_utils.h b/lib/xray/xray_utils.h index a78e12a4c..1ecc74a2d 100644 --- a/lib/xray/xray_utils.h +++ b/lib/xray/xray_utils.h @@ -36,9 +36,6 @@ std::pair<ssize_t, bool> retryingReadSome(int Fd, char *Begin, char *End); // file. int getLogFD(); -// EINTR-safe read of CPU frquency for the current CPU. -long long getCPUFrequency(); - } // namespace __xray #endif // XRAY_UTILS_H |