summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Luc Brouillet2017-10-05 16:43:11 -0500
committerandroid-build-merger2017-10-05 16:43:11 -0500
commit9000870a5ea24ea48c16602be3fb909510fc4320 (patch)
treeb3a604a8aa3bdf37202f5044a26ba1e621402d27
parent0b63b4ad32358d9dea892a3b968006c409038624 (diff)
parent9ae0569f348cacae5aa608e59124bb870313d6ba (diff)
downloadplatform-hardware-interfaces-9000870a5ea24ea48c16602be3fb909510fc4320.tar.gz
platform-hardware-interfaces-9000870a5ea24ea48c16602be3fb909510fc4320.tar.xz
platform-hardware-interfaces-9000870a5ea24ea48c16602be3fb909510fc4320.zip
Corrected performanceInfo documentation am: 90379def76
am: 9ae0569f34 Change-Id: I3d68314e9dc916447781419c8079d0b97556e417
-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};