diff options
author | Jean-Luc Brouillet <jeanluc@google.com> | 2017-10-04 18:24:59 -0700 |
---|---|---|
committer | Jean-Luc Brouillet <jeanluc@google.com> | 2017-10-05 12:06:36 -0700 |
commit | 90379def76606c8d6fbd6149d33c9da72d87434e (patch) | |
tree | a926f39f5a9d614e3b32b50358eb11aa59dc7630 | |
parent | 0c7d0a9d0dba6f8d879b8b61cbc1c5b56a5cfd99 (diff) | |
download | android_hardware_interfaces-90379def76606c8d6fbd6149d33c9da72d87434e.tar.gz android_hardware_interfaces-90379def76606c8d6fbd6149d33c9da72d87434e.tar.bz2 android_hardware_interfaces-90379def76606c8d6fbd6149d33c9da72d87434e.zip |
Corrected performanceInfo documentation
We'll be using relative numbers, change the doc to reflect that.
Bug: 63905942
Test: Compiled
Change-Id: Iad67621cfc76490c2dc471865a3f82cebf175440
-rw-r--r-- | neuralnetworks/1.0/types.hal | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/neuralnetworks/1.0/types.hal b/neuralnetworks/1.0/types.hal index a6453934c..8779723d2 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; }; |