Home
last modified time | relevance | path

Searched refs:burst (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfData.java57 TimeUnit bucket, long periodSecs, int burst, boolean includeCountMetric, in PerfData() argument
60 super(placebo, replication, bucket, periodSecs, burst, includeCountMetric, in PerfData()
63 mRecorders.add(new BatteryDataRecorder(placebo, replication, bucket, periodSecs, burst, in PerfData()
66 mRecorders.add(new MemoryDataRecorder(placebo, replication, bucket, periodSecs, burst, in PerfData()
70 periodSecs, burst, includeCountMetric, includeDurationMetric, includeEventMetric, in PerfData()
73 periodSecs, burst, includeCountMetric, includeDurationMetric, includeEventMetric, in PerfData()
DPerfDataRecorder.java43 int burst, boolean includeCountMetric, boolean includeDurationMetric, in PerfDataRecorder() argument
46 mColumnSuffix = getColumnSuffix(placebo, replication, bucket, periodSecs, burst, in PerfDataRecorder()
128 long periodSecs, int burst, boolean includeCountMetric, boolean includeDurationMetric, in getColumnSuffix() argument
137 .append("_bst=" + burst) in getColumnSuffix()
DMemoryDataRecorder.java31 int burst, boolean includeCountMetric, boolean includeDurationMetric, in MemoryDataRecorder() argument
33 super(placebo, replication, bucket, periodSecs, burst, includeCountMetric, in MemoryDataRecorder()
DBatteryDataRecorder.java31 int burst, boolean includeCountMetric, boolean includeDurationMetric, in BatteryDataRecorder() argument
33 super(placebo, replication, bucket, periodSecs, burst, includeCountMetric, in BatteryDataRecorder()
DStatsdStatsRecorder.java28 TimeUnit bucket, long periodSecs, int burst, boolean includeCountMetric, in StatsdStatsRecorder() argument
31 super(placebo, replication, bucket, periodSecs, burst, includeCountMetric, in StatsdStatsRecorder()
DValidationRecorder.java37 TimeUnit bucket, long periodSecs, int burst, boolean includeCountMetric, in ValidationRecorder() argument
40 super(placebo, replication, bucket, periodSecs, burst, includeCountMetric, in ValidationRecorder()
DSequencePusher.java50 public SequencePusher(int burst, boolean placebo) { in SequencePusher() argument
51 mBurst = burst; in SequencePusher()
DLoadtestActivity.java613 private synchronized void setBurst(int burst) { in setBurst() argument
614 mBurst = burst; in setBurst()
637 mBurstText = (EditText) findViewById(R.id.burst); in initBurst()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestQueue.java144 BurstHolder burst = new BurstHolder(requestId, repeating, requests, mJpegSurfaceIds); in submit() local
146 if (burst.isRepeating()) { in submit()
153 mRepeatingRequest = burst; in submit()
155 mRequestQueue.offer(burst); in submit()
156 lastFrame = calculateLastFrame(burst.getRequestId()); in submit()
/frameworks/ml/nn/runtime/
DCompilationBuilder.cpp195 int CompilationBuilder::createBurst(BurstBuilder** burst) { in createBurst() argument
198 *burst = nullptr; in createBurst()
203 *burst = nullptr; in createBurst()
208 *burst = new (std::nothrow) BurstBuilder(this, std::move(burstControllers)); in createBurst()
209 return (*burst ? ANEURALNETWORKS_NO_ERROR : ANEURALNETWORKS_OUT_OF_MEMORY); in createBurst()
DCompilationBuilder.h62 int createBurst(BurstBuilder** burst);
DMemory.cpp198 if (const std::shared_ptr<ExecutionBurstController> burst = weakBurst.lock()) { in ~Memory() local
199 burst->freeMemory(getKey()); in ~Memory()
227 void Memory::usedBy(const std::shared_ptr<ExecutionBurstController>& burst) const { in usedBy()
229 mUsedBy.emplace(burst.get(), burst); in usedBy()
DExecutionBuilder.h84 int burstCompute(BurstBuilder* burst) { return compute(nullptr, burst); } in burstCompute() argument
DNeuralNetworks.cpp845 ANeuralNetworksBurst** burst) { in ANeuralNetworksBurst_create() argument
847 if (!compilation || !burst) { in ANeuralNetworksBurst_create()
855 *burst = reinterpret_cast<ANeuralNetworksBurst*>(b); in ANeuralNetworksBurst_create()
859 void ANeuralNetworksBurst_free(ANeuralNetworksBurst* burst) { in ANeuralNetworksBurst_free() argument
862 BurstBuilder* b = reinterpret_cast<BurstBuilder*>(burst); in ANeuralNetworksBurst_free()
867 ANeuralNetworksBurst* burst) { in ANeuralNetworksExecution_burstCompute() argument
869 if (!execution || !burst) { in ANeuralNetworksExecution_burstCompute()
875 BurstBuilder* b = reinterpret_cast<BurstBuilder*>(burst); in ANeuralNetworksExecution_burstCompute()
DMemory.h197 void usedBy(const std::shared_ptr<ExecutionBurstController>& burst) const;
DExecutionPlan.cpp802 std::vector<std::shared_ptr<ExecutionBurstController>> burst; in makeBursts() local
807 burst.push_back(preparedModel->configureExecutionBurst(preferPowerOverLatency)); in makeBursts()
809 burst.push_back(nullptr); in makeBursts()
811 return burst; in makeBursts()
/frameworks/ml/nn/runtime/test/
DTestValidation.cpp1266 ANeuralNetworksBurst* burst; in TEST_F() local
1267 ASSERT_EQ(ANeuralNetworksBurst_create(mCompilation, &burst), in TEST_F()
1269 ASSERT_EQ(ANeuralNetworksExecution_burstCompute(execution, burst), in TEST_F()
1271 ANeuralNetworksBurst_free(burst); in TEST_F()
1301 ANeuralNetworksBurst* burst; in TEST_F() local
1302 ASSERT_EQ(ANeuralNetworksBurst_create(mCompilation, &burst), in TEST_F()
1304 ASSERT_EQ(ANeuralNetworksExecution_burstCompute(execution, burst), in TEST_F()
1307 ANeuralNetworksBurst_free(burst); in TEST_F()
2030 ANeuralNetworksBurst* burst; in TEST_F() local
2031 EXPECT_EQ(ANeuralNetworksBurst_create(compilation, &burst), ANEURALNETWORKS_BAD_STATE); in TEST_F()
[all …]
DTestNeuralNetworksWrapper.h431 ANeuralNetworksBurst* burst = nullptr; in compute() local
433 static_cast<Result>(ANeuralNetworksBurst_create(mCompilation, &burst)); in compute()
438 ANeuralNetworksExecution_burstCompute(mExecution, burst)); in compute()
439 ANeuralNetworksBurst_free(burst); in compute()
DTestIntrospectionControl.cpp533 const sp<V1_2::IBurstContext> burst = ExecutionBurstServer::create( in configureExecutionBurst() local
536 cb(burst == nullptr ? V1_0::ErrorStatus::GENERAL_FAILURE : V1_0::ErrorStatus::NONE, burst); in configureExecutionBurst()
938 ANeuralNetworksBurst* burst; in TEST_P() local
939 ASSERT_EQ(ANeuralNetworksBurst_create(mCompilation, &burst), ANEURALNETWORKS_NO_ERROR); in TEST_P()
941 std::thread run([this, Check, isPass, burst] { in TEST_P()
942 Check(isPass, ANeuralNetworksExecution_burstCompute(mExecution, burst)); in TEST_P()
947 ANeuralNetworksBurst_free(burst); in TEST_P()
/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h6908 ANeuralNetworksBurst** burst) __INTRODUCED_IN(29);
6918 void ANeuralNetworksBurst_free(ANeuralNetworksBurst* burst) __INTRODUCED_IN(29);
6958 ANeuralNetworksBurst* burst) __INTRODUCED_IN(29);
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t371 * created using such a model, any execution object or burst object created
413 * This includes any compilation, execution object or burst object created using
452 * This includes any execution object or burst object created using the compilation,
480 * <li>Synchronously as part of an execution burst with
524 * different burst objects.) The runtime makes no guarantee on the ordering of
564 * burst object.
567 * <li>Create a new burst object by calling the
577 * <li>Destroy the burst with
1250 * See {@link ANeuralNetworksExecution_burstCompute} for burst synchronous execution.
1319 * This only creates the burst object. Computation is only performed once
[all …]
/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp877 const sp<V1_2::IBurstContext> burst = ExecutionBurstServer::create( in configureExecutionBurst() local
880 if (burst == nullptr) { in configureExecutionBurst()
883 cb(V1_0::ErrorStatus::NONE, burst); in configureExecutionBurst()