diff options
author | Aliaksey Kandratsenka <alk@tut.by> | 2013-09-28 19:32:20 -0700 |
---|---|---|
committer | Aliaksey Kandratsenka <alk@tut.by> | 2013-09-28 19:32:20 -0700 |
commit | 799a22624c85e8749f8bed0bfa63282b03e75bdd (patch) | |
tree | ab1731ed323d71762820e844e5ae014a588c01ce | |
parent | 2a2d6596f8c3d62b7ec444761f4edf0c85d10d92 (diff) | |
download | gperftools-799a22624c85e8749f8bed0bfa63282b03e75bdd.tar.gz |
issue-575: do not use cycle count register on arm6
Apparently not all arm6 implementations implement it in this
particular way.
This applies patch by Ben Avison.
-rw-r--r-- | src/base/cycleclock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/cycleclock.h b/src/base/cycleclock.h index fbf6dfc..9fea189 100644 --- a/src/base/cycleclock.h +++ b/src/base/cycleclock.h @@ -133,7 +133,7 @@ struct CycleClock { #elif defined(_MSC_VER) return __rdtsc(); #elif defined(ARMV3) -#if defined(ARMV6) // V6 is the earliest arch that has a standard cyclecount +#if defined(ARMV7) // V7 is the earliest arch that has a standard cyclecount uint32 pmccntr; uint32 pmuseren; uint32 pmcntenset; |