Home
last modified time | relevance | path

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

12

/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()
DExecutionBuilder.cpp639 auto [n2, outputShapes, timing] = executor->computeOnCpuFallback(); in cpuFallbackPartial()
640 return {n2, std::move(outputShapes), timing, executor}; in cpuFallbackPartial()
653 auto [n, outputShapes, timing] = mExecutor->compute(deadline, burstController); in computeInternal()
656 return {n, std::move(outputShapes), timing}; in computeInternal()
1048 const auto [n, outputShapes, timing] = computeInternal(deadline, burstBuilder); in compute()
1050 mTimingWithoutFencedExecutionCallback = timing; in compute()
1073 const auto [n, outputShapes, timing] = computeInternal(deadline, nullptr); in compute()
1075 executionCallback->notify(status, outputShapes, timing); in compute()
1469 Timing timing; in compute() local
1475 std::tie(n, outputShapes, timing) = execution->compute(burstController, deadline); in compute()
[all …]
DManager.cpp557 Timing timing; in execute() local
561 std::tie(outputShapes, timing) = std::move(result).value(); in execute()
571 return {n, std::move(outputShapes), timing}; in execute()
575 return {ANEURALNETWORKS_NO_ERROR, std::move(outputShapes), timing}; in execute()
604 Timing timing = {}; in executeFenced() local
633 std::tie(std::ignore, timing) = result.value(); in executeFenced()
641 return {ANEURALNETWORKS_OP_FAILED, -1, nullptr, timing}; in executeFenced()
646 return {ANEURALNETWORKS_NO_ERROR, syncFenceFd, executeFencedInfoCallback, timing}; in executeFenced()
719 auto [outputShapes, timing] = std::move(result).value(); in compute()
720 return {ANEURALNETWORKS_NO_ERROR, std::move(outputShapes), timing}; in compute()
[all …]
DExecutionCallback.h86 const Timing& timing);
209 Timing timing);
DExecutionBuilder.h105 void reportTimingWithoutFencedExecutionCallback(Timing timing) { in reportTimingWithoutFencedExecutionCallback() argument
106 mTimingWithoutFencedExecutionCallback = timing; in reportTimingWithoutFencedExecutionCallback()
/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/driver/sample/
DSampleDriverUtils.cpp62 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing) { in notify() argument
63 const auto ret = callback->notify_1_2(convertToV1_0(status), outputShapes, timing); in notify()
70 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing) { in notify() argument
71 const auto ret = callback->notify_1_3(status, outputShapes, timing); in notify()
DSampleDriver.cpp505 V1_2::Timing timing = { in asyncExecute() local
508 VLOG(DRIVER) << "SampleDriver::asyncExecute timing = " << toString(timing); in asyncExecute()
509 notify(callback, executionStatus, outputShapes, timing); in asyncExecute()
636 V1_2::Timing timing = { in executeSynchronouslyBase() local
639 VLOG(DRIVER) << "executeSynchronouslyBase timing = " << toString(timing); in executeSynchronouslyBase()
640 return {executionStatus, std::move(outputShapes), timing}; in executeSynchronouslyBase()
648 auto [status, outputShapes, timing] = executeSynchronouslyBase( in executeSynchronously()
650 cb(convertToV1_0(status), std::move(outputShapes), timing); in executeSynchronously()
658 auto [status, outputShapes, timing] = executeSynchronouslyBase( in executeSynchronously_1_3()
660 cb(status, std::move(outputShapes), timing); in executeSynchronously_1_3()
[all …]
DCanonicalPreparedModel.cpp184 Timing timing = {}; in execute() local
187 timing = {.timeOnDevice = deviceEnd - deviceStart, .timeInDriver = driverEnd - driverStart}; in execute()
188 VLOG(DRIVER) << "sample::PreparedModel::execute timing = " << timing; in execute()
191 return std::make_pair(outputShapes, timing); in execute()
DSampleDriverUtils.h44 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing);
47 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing);
/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()
472 V1_2::Timing timing) { in send() argument
473 const std::vector<FmqResultDatum> serialized = serialize(errorStatus, outputShapes, timing); in send()
DExecutionBurstController.cpp220 const V1_2::Timing timing = data[index].executionTiming(); in deserialize() local
230 return std::make_tuple(errorStatus, std::move(outputShapes), timing); in deserialize()
579 V1_0::ErrorStatus status, std::vector<V1_2::OutputShape> outputShapes, V1_2::Timing timing, in getExecutionResult() argument
582 getExecutionResult(convertToV1_3(status), std::move(outputShapes), timing); in getExecutionResult()
619 auto [status, outputShapes, timing] = std::move(*result); in compute()
620 return getExecutionResult(status, std::move(outputShapes), timing, /*fallback=*/false); in compute()
DValidation.cpp271 Result<Version> validateTiming(const Timing& timing) { in validateTiming() argument
273 if (timing == kNoTiming) { in validateTiming()
277 if (timing.timeInDriver.has_value() && timing.timeOnDevice.has_value()) { in validateTiming()
283 const auto lazyMessage = [&timing]() -> std::string { in validateTiming()
285 oss << "Timing::timeOnDevice (" << timing.timeOnDevice.value() in validateTiming()
286 << ") must not exceed Timing::timeInDriver (" << timing.timeInDriver.value() << ")"; in validateTiming()
289 NN_VALIDATE(timing.timeOnDevice.value() <= timing.timeInDriver.value()) << lazyMessage(); in validateTiming()
2745 Result<Version> validate(const Timing& timing) { in validate() argument
2746 return validateTiming(timing); in validate()
DLegacyHalUtils.cpp226 const V1_2::Timing& timing) { in getExecutionResult() argument
228 uncheckedConvert(timing)); in getExecutionResult()
1620 Timing uncheckedConvert(const V1_2::Timing& timing) { in uncheckedConvert() argument
1621 return handleError(convert(timing)); in uncheckedConvert()
1749 V1_2::Timing convertToV1_2(const Timing& timing) { in convertToV1_2() argument
1750 return handleError(V1_2::utils::convert(timing)); in convertToV1_2()
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.cpp462 executionResult->timing = kNoTiming; in executeSynchronously()
465 aidl_hal::Timing timing = {.timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeSynchronously() local
467 VLOG(DRIVER) << "executeSynchronously timing = " << timing.toString(); in executeSynchronously()
469 executionResult->timing = timing; in executeSynchronously()
/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/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java672 .map(timing -> new TelecomLogClass.LogSessionTiming() in dumpToEncodedProto()
673 .setSessionEntryPoint(timing.getKey()) in dumpToEncodedProto()
674 .setTimeMillis(timing.getTime())) in dumpToEncodedProto()
/packages/modules/NeuralNetworks/common/include/nnapi/
DValidation.h43 Result<Version> validate(const Timing& timing);

12