diff options
author | Michael Butler <butlermichael@google.com> | 2021-03-18 21:15:09 -0700 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2021-04-06 00:01:38 +0000 |
commit | 4895b4df794060b04ce590cb58fd493ec9ea4b03 (patch) | |
tree | edfe4ac13f951ae8ed304845a9dccf2985f4436e /identity/support/src/cppbor.cpp | |
parent | 42d9f3f3fb7cda65ed6939da68a0fb40279b2393 (diff) |
Change NNAPI time from steady_clock to boot_clock -- hal
Previously, the NNAPI used std::chrono::steady_clock to represent and
measure timings. However, steady_clock does not count while the system
is suspended. Instead, boot_clock is monotonic like steady_clock but
does include the time when the system is suspended.
This change also indicates that services may convert from
std::chrono::steady_clock::time_point to
android::base::boot_clock::time_point in the HIDL 1.3 NN HAL.
Bug: 183118340
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Test: VtsHalNeuralnetworksTargetTest
Test: presubmit
Change-Id: I5a7d039a31d9ce98602a301387ec99635f279f42
Merged-In: I5a7d039a31d9ce98602a301387ec99635f279f42
Diffstat (limited to 'identity/support/src/cppbor.cpp')
0 files changed, 0 insertions, 0 deletions