Home
last modified time | relevance | path

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

12

/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DPreparedModel.cpp122 const nn::IPreparedModel& preparedModel, const Request& request, bool measureTiming, in executeSynchronously() argument
126 const auto nnMeasureTiming = measureTiming ? nn::MeasureTiming::YES : nn::MeasureTiming::NO; in executeSynchronously()
152 const std::vector<ndk::ScopedFileDescriptor>& waitFor, bool measureTiming, in executeFenced() argument
158 const auto nnMeasureTiming = measureTiming ? nn::MeasureTiming::YES : nn::MeasureTiming::NO; in executeFenced()
181 const nn::IPreparedModel& preparedModel, const Request& request, bool measureTiming, in createReusableExecution() argument
185 const auto nnMeasureTiming = measureTiming ? nn::MeasureTiming::YES : nn::MeasureTiming::NO; in createReusableExecution()
242 ndk::ScopedAStatus PreparedModel::executeSynchronously(const Request& request, bool measureTiming, in executeSynchronously() argument
246 auto result = adapter::executeSynchronously(*kPreparedModel, request, measureTiming, deadlineNs, in executeSynchronously()
260 bool measureTiming, int64_t deadlineNs, int64_t loopTimeoutDurationNs, int64_t durationNs, in executeFenced() argument
262 auto result = adapter::executeFenced(*kPreparedModel, request, waitFor, measureTiming, in executeFenced()
[all …]
DBurst.cpp95 const std::vector<int64_t>& memoryIdentifierTokens, bool measureTiming, int64_t deadlineNs, in executeSynchronously() argument
108 const auto nnMeasureTiming = measureTiming ? nn::MeasureTiming::YES : nn::MeasureTiming::NO; in executeSynchronously()
156 bool measureTiming, int64_t deadlineNs, in executeSynchronously() argument
161 measureTiming, deadlineNs, loopTimeoutDurationNs, {}, {}); in executeSynchronously()
176 *kBurst, kMemoryCache, request, memoryIdentifierTokens, config.measureTiming, in executeSynchronouslyWithConfig()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DIPreparedModel.aidl37 …nously(in android.hardware.neuralnetworks.Request request, in boolean measureTiming, in long deadl… in executeSynchronously() argument
38 …tworks.Request request, in ParcelFileDescriptor[] waitFor, in boolean measureTiming, in long deadl… in executeFenced() argument
DIBurst.aidl37 …etworks.Request request, in long[] memoryIdentifierTokens, in boolean measureTiming, in long deadl… in executeSynchronously() argument
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIPreparedModel.aidl37 …nously(in android.hardware.neuralnetworks.Request request, in boolean measureTiming, in long deadl… in executeSynchronously() argument
38 …tworks.Request request, in ParcelFileDescriptor[] waitFor, in boolean measureTiming, in long deadl… in executeFenced() argument
DIBurst.aidl37 …etworks.Request request, in long[] memoryIdentifierTokens, in boolean measureTiming, in long deadl… in executeSynchronously() argument
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DIPreparedModel.aidl37 …nously(in android.hardware.neuralnetworks.Request request, in boolean measureTiming, in long deadl… in executeSynchronously() argument
38 …tworks.Request request, in ParcelFileDescriptor[] waitFor, in boolean measureTiming, in long deadl… in executeFenced() argument
DIBurst.aidl37 …etworks.Request request, in long[] memoryIdentifierTokens, in boolean measureTiming, in long deadl… in executeSynchronously() argument
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp60 bool measureTiming; member
70 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
73 measureTiming(measureTiming), in TestConfig()
79 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
82 measureTiming(measureTiming), in TestConfig()
88 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
91 measureTiming(measureTiming), in TestConfig()
115 << ", .measureTiming=" << (config.measureTiming ? "true" : "false") in toString()
611 request, {testConfig.measureTiming, loopTimeoutDurationNs, {}, {}}, &execution); in EvaluatePreparedModel()
632 request, {testConfig.measureTiming, loopTimeoutDurationNs, {}, {}}, in EvaluatePreparedModel()
[all …]
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIPreparedModel.aidl101 ExecutionResult executeSynchronously(in Request request, in boolean measureTiming, in executeSynchronously() argument
176 in boolean measureTiming, in long deadlineNs, in long loopTimeoutDurationNs, in executeFenced() argument
DExecutionConfig.aidl35 boolean measureTiming;
DIBurst.aidl106 in boolean measureTiming, in long deadlineNs, in long loopTimeoutDurationNs); in executeSynchronously() argument
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DIPreparedModel.aidl37 …nously(in android.hardware.neuralnetworks.Request request, in boolean measureTiming, in long deadl… in executeSynchronously() argument
38 …tworks.Request request, in ParcelFileDescriptor[] waitFor, in boolean measureTiming, in long deadl… in executeFenced() argument
DExecutionConfig.aidl37 boolean measureTiming;
DIBurst.aidl37 …etworks.Request request, in long[] memoryIdentifierTokens, in boolean measureTiming, in long deadl… in executeSynchronously() argument
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIPreparedModel.aidl37 …nously(in android.hardware.neuralnetworks.Request request, in boolean measureTiming, in long deadl… in executeSynchronously() argument
38 …tworks.Request request, in ParcelFileDescriptor[] waitFor, in boolean measureTiming, in long deadl… in executeFenced() argument
DExecutionConfig.aidl37 boolean measureTiming;
DIBurst.aidl37 …etworks.Request request, in long[] memoryIdentifierTokens, in boolean measureTiming, in long deadl… in executeSynchronously() argument
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp69 MeasureTiming measureTiming; member
236 preparedModel, request, testConfig.measureTiming, executionCallback); in EvaluatePreparedModel()
253 preparedModel, request, testConfig.measureTiming, &outputShapes, &timing); in EvaluatePreparedModel()
276 controller->compute(request, testConfig.measureTiming, keys); in EvaluatePreparedModel()
292 if (testConfig.measureTiming == MeasureTiming::NO) { in EvaluatePreparedModel()
357 for (const MeasureTiming measureTiming : measureTimingList) { in EvaluatePreparedModel() local
361 .measureTiming = measureTiming, in EvaluatePreparedModel()
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DMockPreparedModel.h33 (const Request& request, bool measureTiming, int64_t deadline,
38 bool measureTiming, int64_t deadline, int64_t loopTimeoutDuration,
DMockBurst.h31 bool measureTiming, int64_t deadline, int64_t loopTimeoutDuration,
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DPreparedModel.h45 ndk::ScopedAStatus executeSynchronously(const Request& request, bool measureTiming,
50 bool measureTiming, int64_t deadlineNs,
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp81 MeasureTiming measureTiming; member
88 TestConfig(Executor executor, MeasureTiming measureTiming, OutputType outputType, in TestConfig()
91 measureTiming(measureTiming), in TestConfig()
95 TestConfig(Executor executor, MeasureTiming measureTiming, OutputType outputType, in TestConfig()
98 measureTiming(measureTiming), in TestConfig()
598 ExecutePreparedModel(preparedModel, request, testConfig.measureTiming, in EvaluatePreparedModel()
616 ExecutePreparedModel(preparedModel, request, testConfig.measureTiming, in EvaluatePreparedModel()
646 controller->compute(request10, testConfig.measureTiming, keys); in EvaluatePreparedModel()
664 preparedModel->executeFenced(request, {}, testConfig.measureTiming, {}, in EvaluatePreparedModel()
675 testConfig.measureTiming, {}, in EvaluatePreparedModel()
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DConversions.h43 GeneralResult<MeasureTiming> unvalidatedConvert(const hal::V1_2::MeasureTiming& measureTiming);
52 GeneralResult<MeasureTiming> convert(const hal::V1_2::MeasureTiming& measureTiming);
83 nn::GeneralResult<MeasureTiming> unvalidatedConvert(const nn::MeasureTiming& measureTiming);
92 nn::GeneralResult<MeasureTiming> convert(const nn::MeasureTiming& measureTiming);
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp241 GeneralResult<MeasureTiming> unvalidatedConvert(const hal::V1_2::MeasureTiming& measureTiming) { in unvalidatedConvert() argument
242 return static_cast<MeasureTiming>(measureTiming); in unvalidatedConvert()
290 GeneralResult<MeasureTiming> convert(const hal::V1_2::MeasureTiming& measureTiming) { in convert() argument
291 return validatedConvert(measureTiming); in convert()
536 nn::GeneralResult<MeasureTiming> unvalidatedConvert(const nn::MeasureTiming& measureTiming) { in unvalidatedConvert() argument
537 return static_cast<MeasureTiming>(measureTiming); in unvalidatedConvert()
581 nn::GeneralResult<MeasureTiming> convert(const nn::MeasureTiming& measureTiming) { in convert() argument
582 return validatedConvert(measureTiming); in convert()

12