commit | 0efc236365ce558fbc9c979083629c7b8cbb8ddc | [log] [tgz] |
---|---|---|
author | Mythri Alle <mythria@google.com> | Tue Jul 11 17:11:48 2023 +0000 |
committer | Mythri Alle <mythria@google.com> | Thu Jul 13 14:38:24 2023 +0000 |
tree | 4b099c3574f82a1267f6bb38e94b6212bbf825b9 | |
parent | 530aa12fd68b3328ef3a2ca8c2c914892a8d34e1 [diff] |
Don't use timestamp counters on ARM32 Not all arm32 have access to timestamp counters. Even on ARMV8 processors where timestamp counters are available, they are not accessible from user space always when running in 32-bit mode. There is no easy way to check if the timestamp counters are supported. So for now just fallback to clock_gettime. Bug: 289178149 Test: art/test.py --trace --32 Change-Id: I8406f3a99a178e6806e2dc762662a7f5f0e538ea