summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Luc Brouillet2017-10-05 16:40:36 -0500
committerandroid-build-merger2017-10-05 16:40:36 -0500
commit9ae0569f348cacae5aa608e59124bb870313d6ba (patch)
tree15e46ffa145b6a125dee69845ed3715771aa769c
parent457a40dbddec4afd846a1f3ebef222b4a4b5f8b7 (diff)
parent90379def76606c8d6fbd6149d33c9da72d87434e (diff)
downloadplatform-hardware-interfaces-9ae0569f348cacae5aa608e59124bb870313d6ba.tar.gz
platform-hardware-interfaces-9ae0569f348cacae5aa608e59124bb870313d6ba.tar.xz
platform-hardware-interfaces-9ae0569f348cacae5aa608e59124bb870313d6ba.zip
Corrected performanceInfo documentation
am: 90379def76 Change-Id: I74aab26fa96f2b541836cddc480fe559548377ad
-rw-r--r--neuralnetworks/1.0/types.hal8
1 files changed, 6 insertions, 2 deletions
diff --git a/neuralnetworks/1.0/types.hal b/neuralnetworks/1.0/types.hal
index a6453934..8779723d 100644
--- a/neuralnetworks/1.0/types.hal
+++ b/neuralnetworks/1.0/types.hal
@@ -1015,12 +1015,16 @@ enum DeviceStatus : int32_t {
1015 */ 1015 */
1016struct PerformanceInfo { 1016struct PerformanceInfo {
1017 /** 1017 /**
1018 * Execution time in nanoseconds. 1018 * Ratio of the time taken by the driver to execute the
1019 * workload compared to the time the CPU would take for the
1020 * same workload. A lower number is better.
1019 */ 1021 */
1020 float execTime; 1022 float execTime;
1021 1023
1022 /** 1024 /**
1023 * Power usage in picoJoules. 1025 * Ratio of the energy used by the driver compared to what
1026 * the CPU would use for doing the same workload. A lower number
1027 * is better.
1024 */ 1028 */
1025 float powerUsage; 1029 float powerUsage;
1026}; 1030};