/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimPreparedModel.cpp | 198 bool measureTiming) in ShimFencedExecutionCallback() argument 202 mMeasureTiming(measureTiming) {} in ShimFencedExecutionCallback() 261 bool measureTiming, FencedExecutionResult* fencedExecutionResult) { in executeFencedInternal() argument 296 execution, std::move(e), requestMemoryPools, measureTiming); in executeFencedInternal() 303 bool measureTiming, int64_t deadlineNs, int64_t loopTimeoutDurationNs, int64_t durationNs, in executeFencedCommon() argument 318 parseInputs(request, measureTiming, deadlineNs, loopTimeoutDurationNs, execution.get(), in executeFencedCommon() 324 durationNs, measureTiming, fencedExecutionResult); in executeFencedCommon() 329 const std::vector<::ndk::ScopedFileDescriptor>& waitFor, bool measureTiming, in executeFenced() argument 332 return executeFencedCommon(request, waitFor, measureTiming, deadlineNs, loopTimeoutDurationNs, in executeFenced() 338 const std::shared_ptr<::android::nn::sl_wrapper::Execution>& execution, bool measureTiming, in executeSynchronouslyInternal() argument [all …]
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverAidl.cpp | 397 const aidl_hal::Request& halRequest, bool measureTiming, int64_t halDeadlineNs, in executeSynchronously() argument 404 if (measureTiming) driverStart = Clock::now(); in executeSynchronously() 450 if (measureTiming) deviceStart = Clock::now(); in executeSynchronously() 452 if (measureTiming) deviceEnd = Clock::now(); in executeSynchronously() 472 if (measureTiming && executionStatus == aidl_hal::ErrorStatus::NONE) { in executeSynchronously() 486 bool measureTiming, int64_t halDeadlineNs, int64_t loopTimeoutDurationNs, in executeFenced() argument 493 if (measureTiming) driverStart = Clock::now(); in executeFenced() 546 if (measureTiming) driverStartAfterFence = Clock::now(); in executeFenced() 565 if (measureTiming) deviceStart = Clock::now(); in executeFenced() 567 if (measureTiming) deviceEnd = Clock::now(); in executeFenced() [all …]
|
D | SampleDriverAidl.h | 118 ndk::ScopedAStatus executeSynchronously(const aidl_hal::Request& request, bool measureTiming, 123 bool measureTiming, int64_t deadlineNs, 177 bool measureTiming, int64_t deadlineNs, 194 bool measureTiming, int64_t loopTimeoutDurationNs) in SampleExecution() argument 197 kMeasureTiming(measureTiming), in SampleExecution()
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimPreparedModel.h | 49 ::ndk::ScopedAStatus executeSynchronously(const Request& request, bool measureTiming, 54 bool measureTiming, int64_t deadlineNs, 85 const Request& request, bool measureTiming, int64_t deadlineNs, 91 bool measureTiming, int64_t deadlineNs, int64_t loopTimeoutDurationNs,
|
/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionBuilder.cpp | 113 static MeasureTiming measureTiming(const ExecutionBuilder* execution) { in measureTiming() function 114 return execution->measureTiming() ? MeasureTiming::YES : MeasureTiming::NO; in measureTiming() 1494 const MeasureTiming measure = measureTiming(mExecutionBuilder); in getReusableExecution() 1526 const MeasureTiming measure = measureTiming(mExecutionBuilder); in compute() 1563 const MeasureTiming measure = measureTiming(mExecutionBuilder); in computeFenced() 1640 const MeasureTiming measure = measureTiming(mExecutionBuilder); in computeOnCpuFallback()
|
D | Telemetry.cpp | 208 if (e->measureTiming()) { in onExecutionFinish()
|
D | ExecutionBuilder.h | 111 bool measureTiming() const { return mMeasureTiming; } in measureTiming() function
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | Validation.h | 49 Result<Version> validate(const MeasureTiming& measureTiming);
|
D | TypeUtils.h | 92 std::ostream& operator<<(std::ostream& os, const MeasureTiming& measureTiming);
|
/packages/modules/NeuralNetworks/common/ |
D | ExecutionBurstServer.cpp | 300 if (index >= data.size() || data.at(index).getDiscriminator() != discriminator::measureTiming) { in deserialize() 306 const V1_2::MeasureTiming measure = data.at(index).measureTiming(); in deserialize()
|
D | ExecutionBurstController.cpp | 143 datum.measureTiming(measure); in serialize()
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | TypeUtils.cpp | 349 std::ostream& operator<<(std::ostream& os, const MeasureTiming& measureTiming) { in operator <<() argument 350 switch (measureTiming) { in operator <<() 356 return os << "MeasureTiming{" << underlyingType(measureTiming) << "}"; in operator <<()
|
D | Validation.cpp | 132 Result<Version> validateMeasureTiming(const MeasureTiming& measureTiming) { in validateMeasureTiming() argument 133 switch (measureTiming) { in validateMeasureTiming() 140 NN_RET_CHECK_FAIL() << "Invalid MeasureTiming " << measureTiming; in validateMeasureTiming() 1838 Result<Version> validate(const MeasureTiming& measureTiming) { in validate() argument 1839 return validateMeasureTiming(measureTiming); in validate()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestIntrospectionControl.cpp | 181 int prepareForExecution(bool measureTiming = false) { in prepareForExecution() argument 191 if (measureTiming) { in prepareForExecution()
|