summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-06 07:26:52 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-06 07:26:52 +0000
commit806f87250326c6cabca8913cb95689b8aa506328 (patch)
tree91daa7f0472d97910b2ffb2636928e4b5399bb3d
parent86d74b4cf0a553052d3bc1f8952fa034c5ca6b92 (diff)
parent38cfeee30c4b6ff8d8feed57e721b5d0c0fdf4de (diff)
downloadandroid_hardware_interfaces-806f87250326c6cabca8913cb95689b8aa506328.tar.gz
android_hardware_interfaces-806f87250326c6cabca8913cb95689b8aa506328.tar.bz2
android_hardware_interfaces-806f87250326c6cabca8913cb95689b8aa506328.zip
Snap for 4380782 from 38cfeee30c4b6ff8d8feed57e721b5d0c0fdf4de to oc-mr1-release
Change-Id: I0daa56402c8dc6483971c440e241bb1490b98792
-rw-r--r--current.txt5
-rw-r--r--neuralnetworks/1.0/types.hal8
2 files changed, 11 insertions, 2 deletions
diff --git a/current.txt b/current.txt
index 52fbfd152..1c67bc0b1 100644
--- a/current.txt
+++ b/current.txt
@@ -246,5 +246,10 @@ a432d6d9200248dc2126827bcd6cdea31dd65eff39b939f64585d27d915a5857 android.hardwar
619600109232ed64b827c8a11beed8070b1827ae464547d7aa146cf0473b4bca android.hardware.cas.native@1.0::IDescrambler
0a159f81359cd4f71bbe00972ee8403ea79351fb7c0cd48be72ebb3e424dbaef android.hardware.radio@1.0::types
09342041e17c429fce0034b9096d17849122111436a5f0053e7e59500e1cb89c android.hardware.media.omx@1.0::IOmxStore
+246a56d37d57a47224562c9d077b4a2886ce6242b9311bd98a17325944c280d7 android.hardware.neuralnetworks@1.0::types
+93eb3757ceaf21590fa4cd1d4a7dfe3b3794af5396100a6d25630879352abce9 android.hardware.neuralnetworks@1.0::IDevice
+f66f9a38541bf92001d3adcce678cd7e3da2262124befb460b1c9aea9492813b android.hardware.neuralnetworks@1.0::IExecutionCallback
+953607822954435874f4b81686440a604e2a88cdd2d9164c6293f3d5772510d7 android.hardware.neuralnetworks@1.0::IPreparedModel
+73e03573494ba96f0e711ab7f1956c5b2d54c3da690cd7ecf4d6d0f287447730 android.hardware.neuralnetworks@1.0::IPreparedModelCallback
f4945e397b5dea41bb64518dfde59be71245d8a125fd1e0acffeb57ac7b08fed android.hardware.thermal@1.1::IThermal
c8bc853546dd55584611def2a9fa1d99f657e3366c976d2f60fe6b8aa6d2cb87 android.hardware.thermal@1.1::IThermalCallback
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;
};