platform_hardware_interfaces/neuralnetworks
Michael Butler 382d513dff 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
(cherry picked from commit b8cf54cf5a)
2021-04-06 15:00:49 -07:00
..
1.0 Add additional parameters for NN Burst -- HAL 2021-04-02 22:02:38 -07:00
1.1 Add additional parameters for NN Burst -- HAL 2021-04-02 22:02:38 -07:00
1.2 Add additional parameters for NN Burst -- HAL 2021-04-02 22:02:38 -07:00
1.3 Change NNAPI time from steady_clock to boot_clock -- hal 2021-04-06 15:00:49 -07:00
aidl Change NNAPI time from steady_clock to boot_clock -- hal 2021-04-06 15:00:49 -07:00
utils Add additional parameters for NN Burst -- HAL 2021-04-02 22:02:38 -07:00
README Add README to NeuralNetworks HAL 2018-03-05 12:59:35 -08:00
TEST_MAPPING Add canonical types adapters for NNAPI AIDL interface 2021-03-16 11:57:04 -07:00

NeuralNetworks sample driver implementation is located at
frameworks/ml/nn/driver/sample.