From 90379def76606c8d6fbd6149d33c9da72d87434e Mon Sep 17 00:00:00 2001 From: Jean-Luc Brouillet Date: Wed, 4 Oct 2017 18:24:59 -0700 Subject: [PATCH] Corrected performanceInfo documentation We'll be using relative numbers, change the doc to reflect that. Bug: 63905942 Test: Compiled Change-Id: Iad67621cfc76490c2dc471865a3f82cebf175440 --- neuralnetworks/1.0/types.hal | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/neuralnetworks/1.0/types.hal b/neuralnetworks/1.0/types.hal index a6453934cc..8779723d2f 100644 --- a/neuralnetworks/1.0/types.hal +++ b/neuralnetworks/1.0/types.hal @@ -1015,12 +1015,16 @@ enum DeviceStatus : int32_t { */ struct PerformanceInfo { /** - * Execution time in nanoseconds. + * Ratio of the time taken by the driver to execute the + * workload compared to the time the CPU would take for the + * same workload. A lower number is better. */ float execTime; /** - * Power usage in picoJoules. + * Ratio of the energy used by the driver compared to what + * the CPU would use for doing the same workload. A lower number + * is better. */ float powerUsage; };