summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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};