Home
last modified time | relevance | path

Searched refs:timing (Results 1 – 25 of 49) sorted by relevance

12

/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/
DRkpdStatsTests.java79 final RemoteKeyProvisioningTiming timing = getTimingMetric(data); in testDataBudgetEmptyGenerateKey() local
80 assertThat(timing).isNotNull(); in testDataBudgetEmptyGenerateKey()
81 assertThat(timing.getTransportType()).isIn(VALID_TRANSPORT_TYPES); in testDataBudgetEmptyGenerateKey()
82 assertThat(timing.getRemotelyProvisionedComponent()).isEqualTo( in testDataBudgetEmptyGenerateKey()
84 assertThat(timing.getServerWaitMillis()).isEqualTo(0); in testDataBudgetEmptyGenerateKey()
85 assertThat(timing.getBinderWaitMillis()).isAtLeast(0); in testDataBudgetEmptyGenerateKey()
86 assertThat(timing.getLockWaitMillis()).isAtLeast(0); in testDataBudgetEmptyGenerateKey()
87 assertThat(timing.getTotalProcessingTime()).isAtLeast( in testDataBudgetEmptyGenerateKey()
88 timing.getServerWaitMillis() + timing.getBinderWaitMillis() in testDataBudgetEmptyGenerateKey()
89 + timing.getLockWaitMillis()); in testDataBudgetEmptyGenerateKey()
[all …]
/packages/modules/NeuralNetworks/runtime/
DExecutionCallback.cpp30 const Timing& timing) { in notify() argument
31 notifyInternal(status, outputShapes, timing); in notify()
115 std::vector<OutputShape> outputShapes, Timing timing) { in notifyInternal() argument
125 timing = {}; in notifyInternal()
135 timing = {}; in notifyInternal()
151 mTiming = timing; in notifyInternal()
DTelemetryStatsd.cpp66 AtomValue::AccumulatedTiming accumulatedTimingFrom(int64_t timing) { in accumulatedTimingFrom() argument
67 if (timing == kNoTimeReportedStatsd) { in accumulatedTimingFrom()
71 .sumTime = timing, in accumulatedTimingFrom()
72 .minTime = timing, in accumulatedTimingFrom()
73 .maxTime = timing, in accumulatedTimingFrom()
74 .sumSquaredTime = timing * timing, in accumulatedTimingFrom()
80 const AtomValue::AccumulatedTiming& timing) { in combineAccumulatedTiming() argument
81 if (timing.count == 0) { in combineAccumulatedTiming()
84 accumulatedTime->sumTime += timing.sumTime; in combineAccumulatedTiming()
85 accumulatedTime->minTime = std::min(accumulatedTime->minTime, timing.minTime); in combineAccumulatedTiming()
[all …]
DExecutionBuilder.cpp678 auto [n2, outputShapes, timing] = executor->computeOnCpuFallback(); in cpuFallbackPartial()
679 return {n2, std::move(outputShapes), timing, executor}; in cpuFallbackPartial()
692 auto [n, outputShapes, timing] = mExecutor->compute(deadline, burstController); in computeInternal()
695 return {n, std::move(outputShapes), timing}; in computeInternal()
1093 const auto [n, outputShapes, timing] = computeInternal(deadline, burstBuilder); in compute()
1095 mTimingWithoutFencedExecutionCallback = timing; in compute()
1118 const auto [n, outputShapes, timing] = computeInternal(deadline, nullptr); in compute()
1120 executionCallback->notify(status, outputShapes, timing); in compute()
1517 Timing timing; in compute() local
1523 std::tie(n, outputShapes, timing) = execution->compute(burstController, deadline); in compute()
[all …]
DManager.cpp614 Timing timing; in execute() local
618 std::tie(outputShapes, timing) = std::move(result).value(); in execute()
628 return {n, std::move(outputShapes), timing}; in execute()
632 return {ANEURALNETWORKS_NO_ERROR, std::move(outputShapes), timing}; in execute()
662 Timing timing = {}; in executeFenced() local
695 std::tie(std::ignore, timing) = result.value(); in executeFenced()
703 return {ANEURALNETWORKS_OP_FAILED, -1, nullptr, timing}; in executeFenced()
708 return {ANEURALNETWORKS_NO_ERROR, syncFenceFd, executeFencedInfoCallback, timing}; in executeFenced()
785 auto [outputShapes, timing] = std::move(result).value(); in compute()
786 return {ANEURALNETWORKS_NO_ERROR, std::move(outputShapes), timing}; in compute()
[all …]
DExecutionCallback.h86 const Timing& timing);
209 Timing timing);
DExecutionBuilder.h112 void reportTimingWithoutFencedExecutionCallback(Timing timing) { in reportTimingWithoutFencedExecutionCallback() argument
113 mTimingWithoutFencedExecutionCallback = timing; in reportTimingWithoutFencedExecutionCallback()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriverUtils.cpp81 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing) { in notify() argument
82 const auto ret = callback->notify_1_2(convertToV1_0(status), outputShapes, timing); in notify()
89 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing) { in notify() argument
90 const auto ret = callback->notify_1_3(status, outputShapes, timing); in notify()
DSampleDriver.cpp494 V1_2::Timing timing = { in asyncExecute() local
497 VLOG(DRIVER) << "SampleDriver::asyncExecute timing = " << toString(timing); in asyncExecute()
498 notify(callback, executionStatus, outputShapes, timing); in asyncExecute()
625 V1_2::Timing timing = { in executeSynchronouslyBase() local
628 VLOG(DRIVER) << "executeSynchronouslyBase timing = " << toString(timing); in executeSynchronouslyBase()
629 return {executionStatus, std::move(outputShapes), timing}; in executeSynchronouslyBase()
637 auto [status, outputShapes, timing] = executeSynchronouslyBase( in executeSynchronously()
639 cb(convertToV1_0(status), std::move(outputShapes), timing); in executeSynchronously()
647 auto [status, outputShapes, timing] = executeSynchronouslyBase( in executeSynchronously_1_3()
649 cb(status, std::move(outputShapes), timing); in executeSynchronously_1_3()
[all …]
DSampleDriverUtils.h51 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing);
54 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing);
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/
Domr1.txt4 NNAPI timing summary (self-times, ms wall-clock) …
19 NNAPI timing summary (self-times, ms wall-clock) …
34 NNAPI timing summary (self-times, ms wall-clock) …
49 NNAPI timing summary (self-times, ms wall-clock) …
64 NNAPI timing summary (self-times, ms wall-clock) …
Dunittest.txt4 NNAPI timing summary (self-times, ms wall-clock) …
19 NNAPI timing summary (self-times, ms wall-clock) …
Dhdrnet-bm.txt4 NNAPI timing summary (self-times, ms wall-clock) Benchmark
Dhdrnet.txt4 NNAPI timing summary (self-times, ms wall-clock) …
Dcpu.txt4 NNAPI timing summary (self-times, ms wall-clock) …
Dold.txt4 NNAPI timing summary (self-times, ms wall-clock) …
/packages/modules/NeuralNetworks/common/
DExecutionBurstServer.cpp89 const V1_2::Timing& timing) { in execute() argument
92 returnedTiming = timing; in execute()
116 V1_2::Timing timing) { in serialize() argument
158 datum.executionTiming(timing); in serialize()
478 V1_2::Timing timing) { in send() argument
479 const std::vector<FmqResultDatum> serialized = serialize(errorStatus, outputShapes, timing); in send()
DExecutionBurstController.cpp225 const V1_2::Timing timing = data.at(index).executionTiming(); in deserialize() local
235 return std::make_tuple(errorStatus, std::move(outputShapes), timing); in deserialize()
587 V1_0::ErrorStatus status, std::vector<V1_2::OutputShape> outputShapes, V1_2::Timing timing, in getExecutionResult() argument
590 getExecutionResult(convertToV1_3(status), std::move(outputShapes), timing); in getExecutionResult()
627 auto [status, outputShapes, timing] = std::move(*result); in compute()
628 return getExecutionResult(status, std::move(outputShapes), timing, /*fallback=*/false); in compute()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp179 Timing timing = {}; in execute() local
182 timing = {.timeOnDevice = deviceEnd - deviceStart, .timeInDriver = driverEnd - driverStart}; in execute()
183 VLOG(DRIVER) << "sample::PreparedModel::execute timing = " << timing; in execute()
186 return std::make_pair(outputShapes, timing); in execute()
/packages/modules/NeuralNetworks/common/include/
DExecutionBurstServer.h57 hardware::neuralnetworks::V1_2::Timing timing);
165 hardware::neuralnetworks::V1_2::Timing timing);
DLegacyHalUtils.h186 const V1_2::Timing& timing);
370 Timing uncheckedConvert(const V1_2::Timing& timing);
387 V1_2::Timing convertToV1_2(const Timing& timing);
/packages/modules/NeuralNetworks/tools/systrace_parser/
DREADME.txt4 timing statistics.
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidl.cpp471 executionResult->timing = kNoTiming; in executeSynchronously()
474 aidl_hal::Timing timing = {.timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeSynchronously() local
476 VLOG(DRIVER) << "executeSynchronously timing = " << timing.toString(); in executeSynchronously()
478 executionResult->timing = timing; in executeSynchronously()
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp240 Result<Version> validateTiming(const Timing& timing) { in validateTiming() argument
242 if (timing == kNoTiming) { in validateTiming()
246 if (timing.timeInDriver.has_value() && timing.timeOnDevice.has_value()) { in validateTiming()
252 const auto lazyMessage = [&timing]() -> std::string { in validateTiming()
254 oss << "Timing::timeOnDevice (" << timing.timeOnDevice.value() in validateTiming()
255 << ") must not exceed Timing::timeInDriver (" << timing.timeInDriver.value() << ")"; in validateTiming()
258 NN_RET_CHECK(timing.timeOnDevice.value() <= timing.timeInDriver.value()) << lazyMessage(); in validateTiming()
1862 Result<Version> validate(const Timing& timing) { in validate() argument
1863 return validateTiming(timing); in validate()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DValidation.h55 Result<Version> validate(const Timing& timing);

12