Failed buildbot: https://lab.llvm.org/buildbot/#/builders/17/builds/19490

Only run perf event tsc conversion test on x86_64.
This commit is contained in:
Jakob Johnson 2022-03-21 14:58:06 -07:00
parent bdf69f63df
commit 45d9aab7a5
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@
//
//===----------------------------------------------------------------------===//
#ifdef __x86_64__
#include "Perf.h"
#include "llvm/Support/Error.h"
@ -83,3 +85,5 @@ TEST(Perf, TscConversion) {
ASSERT_LT(converted_tsc_diff.count(),
(SLEEP_NANOS + acceptable_overhead).count());
}
#endif // __x86_64__