Home
last modified time | relevance | path

Searched refs:measureTiming (Results 1 – 13 of 13) sorted by relevance

/packages/modules/NeuralNetworks/shim_and_sl/
DShimPreparedModel.cpp153 bool measureTiming) in ShimFencedExecutionCallback() argument
157 mMeasureTiming(measureTiming) {} in ShimFencedExecutionCallback()
215 const std::vector<::ndk::ScopedFileDescriptor>& waitFor, bool measureTiming, in executeFenced() argument
225 auto errorStatus = parseInputs(request, measureTiming, deadlineNs, loopTimeoutDurationNs, in executeFenced()
261 std::move(execution), std::move(e), std::move(requestMemoryPools), measureTiming); in executeFenced()
267 const Request& request, bool measureTiming, int64_t deadlineNs, in executeSynchronously() argument
279 auto errorStatus = parseInputs(request, measureTiming, deadlineNs, loopTimeoutDurationNs, in executeSynchronously()
313 if (measureTiming && errorStatus == ErrorStatus::NONE) { in executeSynchronously()
351 bool measureTiming, int64_t deadlineNs,
374 bool measureTiming, int64_t deadlineNs, int64_t loopTimeoutDurationNs, in executeSynchronously() argument
[all …]
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.cpp388 const aidl_hal::Request& halRequest, bool measureTiming, int64_t halDeadlineNs, in executeSynchronously() argument
395 if (measureTiming) driverStart = Clock::now(); in executeSynchronously()
441 if (measureTiming) deviceStart = Clock::now(); in executeSynchronously()
443 if (measureTiming) deviceEnd = Clock::now(); in executeSynchronously()
463 if (measureTiming && executionStatus == aidl_hal::ErrorStatus::NONE) { in executeSynchronously()
477 bool measureTiming, int64_t halDeadlineNs, int64_t loopTimeoutDurationNs, in executeFenced() argument
484 if (measureTiming) driverStart = Clock::now(); in executeFenced()
537 if (measureTiming) driverStartAfterFence = Clock::now(); in executeFenced()
556 if (measureTiming) deviceStart = Clock::now(); in executeFenced()
558 if (measureTiming) deviceEnd = Clock::now(); in executeFenced()
[all …]
DSampleDriver.h119 ndk::ScopedAStatus executeSynchronously(const aidl_hal::Request& request, bool measureTiming,
124 bool measureTiming, int64_t deadlineNs,
168 bool measureTiming, int64_t deadlineNs,
/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimPreparedModel.h48 ::ndk::ScopedAStatus executeSynchronously(const Request& request, bool measureTiming,
53 bool measureTiming, int64_t deadlineNs,
/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.cpp112 static MeasureTiming measureTiming(const ExecutionBuilder* execution) { in measureTiming() function
113 return execution->measureTiming() ? MeasureTiming::YES : MeasureTiming::NO; in measureTiming()
1447 const MeasureTiming measure = measureTiming(mExecutionBuilder); in getReusableExecution()
1478 const MeasureTiming measure = measureTiming(mExecutionBuilder); in compute()
1515 const MeasureTiming measure = measureTiming(mExecutionBuilder); in computeFenced()
1591 const MeasureTiming measure = measureTiming(mExecutionBuilder); in computeOnCpuFallback()
DExecutionBuilder.h104 bool measureTiming() const { return mMeasureTiming; } in measureTiming() function
/packages/modules/NeuralNetworks/common/
DExecutionBurstServer.cpp294 if (data[index].getDiscriminator() != discriminator::measureTiming) { in deserialize()
300 const V1_2::MeasureTiming measure = data[index].measureTiming(); in deserialize()
DTypeUtils.cpp273 std::ostream& operator<<(std::ostream& os, const MeasureTiming& measureTiming) { in operator <<() argument
274 switch (measureTiming) { in operator <<()
280 return os << "MeasureTiming{" << underlyingType(measureTiming) << "}"; in operator <<()
DValidation.cpp163 Result<Version> validateMeasureTiming(const MeasureTiming& measureTiming) { in validateMeasureTiming() argument
164 switch (measureTiming) { in validateMeasureTiming()
171 NN_VALIDATE_FAIL() << "Invalid MeasureTiming " << measureTiming; in validateMeasureTiming()
2721 Result<Version> validate(const MeasureTiming& measureTiming) { in validate() argument
2722 return validateMeasureTiming(measureTiming); in validate()
DExecutionBurstController.cpp142 datum.measureTiming(measure); in serialize()
/packages/modules/NeuralNetworks/common/include/nnapi/
DValidation.h37 Result<Version> validate(const MeasureTiming& measureTiming);
DTypeUtils.h92 std::ostream& operator<<(std::ostream& os, const MeasureTiming& measureTiming);
/packages/modules/NeuralNetworks/runtime/test/
DTestIntrospectionControl.cpp180 int prepareForExecution(bool measureTiming = false) { in prepareForExecution() argument
190 if (measureTiming) { in prepareForExecution()