/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimPreparedModel.cpp | 153 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/ |
D | SampleDriver.cpp | 388 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 …]
|
D | SampleDriver.h | 119 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/ |
D | ShimPreparedModel.h | 48 ::ndk::ScopedAStatus executeSynchronously(const Request& request, bool measureTiming, 53 bool measureTiming, int64_t deadlineNs,
|
/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionBuilder.cpp | 112 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()
|
D | ExecutionBuilder.h | 104 bool measureTiming() const { return mMeasureTiming; } in measureTiming() function
|
/packages/modules/NeuralNetworks/common/ |
D | ExecutionBurstServer.cpp | 294 if (data[index].getDiscriminator() != discriminator::measureTiming) { in deserialize() 300 const V1_2::MeasureTiming measure = data[index].measureTiming(); in deserialize()
|
D | TypeUtils.cpp | 273 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 <<()
|
D | Validation.cpp | 163 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()
|
D | ExecutionBurstController.cpp | 142 datum.measureTiming(measure); in serialize()
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | Validation.h | 37 Result<Version> validate(const MeasureTiming& measureTiming);
|
D | TypeUtils.h | 92 std::ostream& operator<<(std::ostream& os, const MeasureTiming& measureTiming);
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestIntrospectionControl.cpp | 180 int prepareForExecution(bool measureTiming = false) { in prepareForExecution() argument 190 if (measureTiming) { in prepareForExecution()
|