Home
last modified time | relevance | path

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

/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/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
DIBurst.aidl37 …etworks.Request request, in long[] memoryIdentifierTokens, in boolean measureTiming, in long deadl… in executeSynchronously() argument
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIPreparedModel.aidl97 ExecutionResult executeSynchronously(in Request request, in boolean measureTiming, in executeSynchronously() argument
169 in boolean measureTiming, in long deadlineNs, in long loopTimeoutDurationNs, in executeFenced() argument
DIBurst.aidl103 in boolean measureTiming, in long deadlineNs, in long loopTimeoutDurationNs); in executeSynchronously() argument
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DMockPreparedModel.h34 (const Request& request, bool measureTiming, int64_t deadline,
39 bool measureTiming, int64_t deadline, int64_t loopTimeoutDuration,
DMockBurst.h32 bool measureTiming, int64_t deadline, int64_t loopTimeoutDuration,
/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()
DValidateBurst.cpp164 bad[6].measureTiming(MeasureTiming::YES); in createBadRequestPacketEntries()
/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 …]
DValidateBurst.cpp170 bad[6].measureTiming(MeasureTiming::YES); in createBadRequestPacketEntries()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DConversions.h43 GeneralResult<MeasureTiming> unvalidatedConvert(const hal::V1_2::MeasureTiming& measureTiming);
53 GeneralResult<MeasureTiming> convert(const hal::V1_2::MeasureTiming& measureTiming);
84 nn::GeneralResult<MeasureTiming> unvalidatedConvert(const nn::MeasureTiming& measureTiming);
94 nn::GeneralResult<MeasureTiming> convert(const nn::MeasureTiming& measureTiming);
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp58 bool measureTiming; member
65 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType) in TestConfig()
67 measureTiming(measureTiming), in TestConfig()
71 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
74 measureTiming(measureTiming), in TestConfig()
570 const auto ret = preparedModel->executeSynchronously(request, testConfig.measureTiming, in EvaluatePreparedModel()
610 ret = burst->executeSynchronously(request, slots, testConfig.measureTiming, kNoDeadline, in EvaluatePreparedModel()
637 auto ret = preparedModel->executeFenced(request, {}, testConfig.measureTiming, in EvaluatePreparedModel()
651 ret = preparedModel->executeFenced(request, waitFor, testConfig.measureTiming, in EvaluatePreparedModel()
686 if (!testConfig.measureTiming) { in EvaluatePreparedModel()
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp232 GeneralResult<MeasureTiming> unvalidatedConvert(const hal::V1_2::MeasureTiming& measureTiming) { in unvalidatedConvert() argument
233 return static_cast<MeasureTiming>(measureTiming); in unvalidatedConvert()
288 GeneralResult<MeasureTiming> convert(const hal::V1_2::MeasureTiming& measureTiming) { in convert() argument
289 return validatedConvert(measureTiming); in convert()
516 nn::GeneralResult<MeasureTiming> unvalidatedConvert(const nn::MeasureTiming& measureTiming) { in unvalidatedConvert() argument
517 return static_cast<MeasureTiming>(measureTiming); in unvalidatedConvert()
567 nn::GeneralResult<MeasureTiming> convert(const nn::MeasureTiming& measureTiming) { in convert() argument
568 return validatedConvert(measureTiming); in convert()
DExecutionBurstUtils.cpp134 data.back().measureTiming(measure); in serialize()
308 if (data[index].getDiscriminator() != discriminator::measureTiming) { in deserialize()
313 const V1_2::MeasureTiming measure = data[index].measureTiming(); in deserialize()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h82 GeneralResult<MeasureTiming> unvalidatedConvert(bool measureTiming);
134 nn::GeneralResult<bool> unvalidatedConvert(const nn::MeasureTiming& measureTiming);
169 nn::GeneralResult<bool> convert(const nn::MeasureTiming& measureTiming);
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp346 GeneralResult<MeasureTiming> unvalidatedConvert(bool measureTiming) { in unvalidatedConvert() argument
347 return measureTiming ? MeasureTiming::YES : MeasureTiming::NO; in unvalidatedConvert()
754 nn::GeneralResult<bool> unvalidatedConvert(const nn::MeasureTiming& measureTiming) { in unvalidatedConvert() argument
755 return measureTiming == nn::MeasureTiming::YES; in unvalidatedConvert()
1021 nn::GeneralResult<bool> convert(const nn::MeasureTiming& measureTiming) { in convert() argument
1022 return validatedConvert(measureTiming); in convert()
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.t141 * 5) 'measureTiming'
242 MeasureTiming measureTiming;
Dtypes.hal5101 * 5) 'measureTiming'
5202 MeasureTiming measureTiming;
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp723 nn::GeneralResult<V1_2::MeasureTiming> convert(const nn::MeasureTiming& measureTiming) { in convert() argument
724 return V1_2::utils::convert(measureTiming); in convert()