/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimPreparedModel.cpp | 48 const Request& request, bool measure, int64_t deadlineNs, int64_t loopTimeoutDurationNs, in parseInputs() argument 146 if (deadlineNs > -1) { in parseInputs() 148 std::chrono::nanoseconds{deadlineNs}); in parseInputs() 303 bool measureTiming, int64_t deadlineNs, int64_t loopTimeoutDurationNs, int64_t durationNs, in executeFencedCommon() argument 309 if (deadlineNs < -1) { in executeFencedCommon() 318 parseInputs(request, measureTiming, deadlineNs, loopTimeoutDurationNs, execution.get(), in executeFencedCommon() 330 int64_t deadlineNs, int64_t loopTimeoutDurationNs, int64_t durationNs, in executeFenced() argument 332 return executeFencedCommon(request, waitFor, measureTiming, deadlineNs, loopTimeoutDurationNs, in executeFenced() 399 const Request& request, bool measureTiming, int64_t deadlineNs, in executeSynchronouslyCommon() argument 405 if (deadlineNs < -1) { in executeSynchronouslyCommon() [all …]
|
D | ShimDevice.cpp | 529 const Model& model, ExecutionPreference preference, Priority priority, int64_t deadlineNs, in prepareModelCommon() argument 571 if (deadlineNs > -1) { in prepareModelCommon() 573 std::chrono::nanoseconds{deadlineNs}); in prepareModelCommon() 628 const Model& model, ExecutionPreference preference, Priority priority, int64_t deadlineNs, in prepareModel() argument 633 return prepareModelCommon(model, preference, priority, deadlineNs, modelCache, dataCache, token, in prepareModel() 640 return prepareModelCommon(model, config.preference, config.priority, config.deadlineNs, in prepareModelWithConfig()
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimPreparedModel.h | 50 int64_t deadlineNs, int64_t loopTimeoutDurationNs, 54 bool measureTiming, int64_t deadlineNs, 59 int64_t deadlineNs, 63 const ExecutionConfig& config, int64_t deadlineNs, int64_t durationNs, 78 const Request& request, bool measure, int64_t deadlineNs, int64_t loopTimeoutDurationNs, 85 const Request& request, bool measureTiming, int64_t deadlineNs, 91 bool measureTiming, int64_t deadlineNs, int64_t loopTimeoutDurationNs,
|
D | ShimDevice.h | 57 int64_t deadlineNs, const std::vector<::ndk::ScopedFileDescriptor>& modelCache, 65 int64_t deadlineNs, const std::vector<::ndk::ScopedFileDescriptor>& modelCache, 73 int64_t deadlineNs, const std::vector<::ndk::ScopedFileDescriptor>& modelCache,
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverAidl.h | 81 aidl_hal::Priority priority, int64_t deadlineNs, 90 int64_t deadlineNs, const std::vector<ndk::ScopedFileDescriptor>& modelCache, 119 int64_t deadlineNs, int64_t loopTimeoutDurationNs, 123 bool measureTiming, int64_t deadlineNs, 128 int64_t deadlineNs, aidl_hal::ExecutionResult* executionResult) override; 131 const aidl_hal::ExecutionConfig& config, int64_t deadlineNs, int64_t durationNs, 177 bool measureTiming, int64_t deadlineNs, 182 const aidl_hal::ExecutionConfig& config, int64_t deadlineNs, 202 ndk::ScopedAStatus executeSynchronously(int64_t deadlineNs, 206 int64_t deadlineNs, int64_t durationNs,
|
D | SampleDriverAidl.cpp | 106 aidl_hal::Priority priority, int64_t deadlineNs, in prepareModel() argument 116 return prepareModelBase(std::move(copiedModel).value(), this, preference, priority, deadlineNs, in prepareModel() 129 config.priority, config.deadlineNs, callback); in prepareModelWithConfig() 606 int64_t deadlineNs, aidl_hal::ExecutionResult* executionResult) { in executeSynchronouslyWithConfig() argument 607 return executeSynchronously(request, config.measureTiming, deadlineNs, in executeSynchronouslyWithConfig() 612 const aidl_hal::ExecutionConfig& config, int64_t deadlineNs, int64_t durationNs, in executeFencedWithConfig() argument 614 return executeFenced(request, waitFor, config.measureTiming, deadlineNs, in executeFencedWithConfig() 632 bool measureTiming, int64_t deadlineNs, int64_t loopTimeoutDurationNs, in executeSynchronously() argument 651 return kPreparedModel->executeSynchronously(request, measureTiming, deadlineNs, in executeSynchronously() 657 const aidl_hal::ExecutionConfig& config, int64_t deadlineNs, in executeSynchronouslyWithConfig() argument [all …]
|