Home
last modified time | relevance | path

Searched refs:powerUsage (Results 1 – 24 of 24) sorted by relevance

/packages/modules/NeuralNetworks/driver/sample/
DLimitedSupportDevice.cpp47 const Capabilities::PerformanceInfo defaultInfo = {.execTime = 1.0f, .powerUsage = 1.0f}; in makeCapabilitiesFloatFast()
48 const Capabilities::PerformanceInfo float32Info = {.execTime = 0.8f, .powerUsage = 1.2f}; in makeCapabilitiesFloatFast()
49 const Capabilities::PerformanceInfo relaxedInfo = {.execTime = 0.7f, .powerUsage = 1.1f}; in makeCapabilitiesFloatFast()
54 const Capabilities::PerformanceInfo defaultInfo = {.execTime = 1.0f, .powerUsage = 1.0f}; in makeCapabilitiesFloatSlow()
55 const Capabilities::PerformanceInfo float32Info = {.execTime = 1.3f, .powerUsage = 0.7f}; in makeCapabilitiesFloatSlow()
56 const Capabilities::PerformanceInfo relaxedInfo = {.execTime = 1.2f, .powerUsage = 0.6f}; in makeCapabilitiesFloatSlow()
61 const Capabilities::PerformanceInfo defaultInfo = {.execTime = 1.0f, .powerUsage = 1.0f}; in makeCapabilitiesMinimal()
62 const Capabilities::PerformanceInfo float32Info = {.execTime = 0.4f, .powerUsage = 0.5f}; in makeCapabilitiesMinimal()
63 const Capabilities::PerformanceInfo relaxedInfo = {.execTime = 0.4f, .powerUsage = 0.5f}; in makeCapabilitiesMinimal()
68 const Capabilities::PerformanceInfo info = {.execTime = 50.0f, .powerUsage = 1.0f}; in makeCapabilitiesQuant()
DCanonicalDevice.cpp48 const Capabilities::PerformanceInfo kPerfInfo = {.execTime = kPerf, .powerUsage = kPerf}; in makeCapabilities()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriverAll.cpp32 const auto perf = PerformanceInfo{.execTime = 1.1f, .powerUsage = 1.1f}; in main()
DSampleDriverFloatXNNPACK.cpp1940 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 0.7f, .powerUsage = 1.1f}, in getCapabilities_1_3()
1941 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 0.7f, .powerUsage = 1.1f}, in getCapabilities_1_3()
1943 .ifPerformance = {.execTime = 1.0f, .powerUsage = 1.0f}, in getCapabilities_1_3()
1944 .whilePerformance = {.execTime = 1.0f, .powerUsage = 1.0f}}; in getCapabilities_1_3()
1946 {.execTime = 0.8f, .powerUsage = 1.2f}); in getCapabilities_1_3()
1948 {.execTime = 0.8f, .powerUsage = 1.2f}); in getCapabilities_1_3()
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidlAll.cpp31 const PerformanceInfo performance{.execTime = 1.1f, .powerUsage = 1.1f}; in main()
/packages/modules/NeuralNetworks/runtime/test/
DHalUtils.h35 const V1_0::PerformanceInfo perfInfo = {.execTime = perf, .powerUsage = perf}; in makeCapabilities()
DTestMemoryDomain.cpp96 const V1_0::PerformanceInfo kPerf = {.execTime = 0.1, .powerUsage = 0.1}; in getCapabilities_1_3()
453 "test_driver", {.execTime = 0.1f, .powerUsage = 0.1f}))); in TEST_F()
DTestCompilationCaching.cpp168 const V1_0::PerformanceInfo kPerf = {.execTime = 0.1, .powerUsage = 0.1}; in getCapabilities_1_3()
DTestExecution.cpp338 const V1_0::PerformanceInfo kPerf = {.execTime = 0.75f, .powerUsage = 0.75f}; in getCapabilities_1_3()
DTestPartitioning.cpp187 V1_0::PerformanceInfo perfInfo = {.execTime = perf, .powerUsage = perf}; in update()
1049 V1_0::PerformanceInfo perfInfo = {.execTime = perf, .powerUsage = perf};
1051 .powerUsage = perfRelaxed};
DTestPartitioningRandom.cpp560 const V1_0::PerformanceInfo kPerf = {.execTime = 0.75f, .powerUsage = 0.75f}; in getCapabilities_1_3()
DTestIntrospectionControl.cpp128 V1_0::PerformanceInfo perfInfo = {.execTime = perf, .powerUsage = perf}; in DeviceSpecification()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DTestRandomGraph.cpp63 TestDriverV1_2() : SampleDriverFull(name, {.execTime = 0.9f, .powerUsage = 0.9f}) {} in TestDriverV1_2()
71 : mDriverV1_2(new SampleDriverFull(name, {.execTime = 0.8f, .powerUsage = 0.8f})) {} in TestDriverV1_1()
107 : mDriverV1_2(new SampleDriverFull(name, {.execTime = 0.7f, .powerUsage = 0.7f})) {} in TestDriverV1_0()
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp515 << ", .powerUsage=" << performanceInfo.powerUsage << "}"; in operator <<()
798 return a.execTime == b.execTime && a.powerUsage == b.powerUsage; in operator ==()
DValidation.cpp266 NN_RET_CHECK_GT(performanceInfo.powerUsage, 0.0f); in validateCapabilitiesPerformanceInfo()
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp1791 if (performanceInfo) *performanceInfo = {.execTime = 0.0f, .powerUsage = 0.0f}; in SL_ANeuralNetworksDevice_getPerformanceInfo()
1800 .powerUsage = info.powerUsage}; in SL_ANeuralNetworksDevice_getPerformanceInfo()
1838 .powerUsage = operandPerformance.info.powerUsage}, in SL_ANeuralNetworksDevice_forEachOperandPerformanceInfo()
DManager.cpp852 constexpr Capabilities::PerformanceInfo kPerf = {.execTime = 1.0f, .powerUsage = 1.0f}; in createCpuCapabilities()
913 const Capabilities::PerformanceInfo kPerformance = {.execTime = 1.0f, .powerUsage = 1.0f};
DExecutionPlan.cpp2418 return preference == ANEURALNETWORKS_PREFER_LOW_POWER ? perf.powerUsage : perf.execTime; in getPerformance()
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp177 static const V1_0::PerformanceInfo kPerf = {.execTime = 1.0f, .powerUsage = 1.0f}; in getCapabilities_1_3()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp99 return {.execTime = info.execTime, .powerUsage = info.powerUsage}; in convertPerformanceInfo()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h270 float powerUsage = kDefaultPowerUsage; member
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h59 float powerUsage; member
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp45 .powerUsage = std::numeric_limits<float>::max()};
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec6880 float powerUsage%{init_powerUsage};
7054 * its performance is treated as { .execTime = FLT_MAX, .powerUsage = FLT_MAX }.
7059 * { .execTime = FLT_MAX, .powerUsage = FLT_MAX }.