diff options
author | 2023-12-06 16:28:10 +0000 | |
---|---|---|
committer | 2023-12-12 11:54:48 +0000 | |
commit | d319e8dbe393021a6dc2e6be5e5f95b897f2e52a (patch) | |
tree | c931b158cb6e097d1b465fd8c9dbe822aa1509ad /compiler/optimizing/intrinsics.h | |
parent | 5b891da2a375cbb3f9faadae6b685a956be4ed64 (diff) |
Add fallback option if cntfrq_el0 isn't setup correctly
cntfrq_el0 is expected to specify the frequency of updates of
cntvct_el0. On some devices this isn't correctly set up and returns a
value of 0. In such cases fallback to computing the frequency.
Bug: 315139000
Test: art/test.py -t 2246-trace-stream
Change-Id: Ifaffe5a33736098242ca41d8a9d7ff5932baa321
Diffstat (limited to 'compiler/optimizing/intrinsics.h')
0 files changed, 0 insertions, 0 deletions