Home
last modified time | relevance | path

Searched refs:driverStart (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp137 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in execute() local
138 if (measure == MeasureTiming::YES) driverStart = Clock::now(); in execute()
182 timing = {.timeOnDevice = deviceEnd - deviceStart, .timeInDriver = driverEnd - driverStart}; in execute()
199 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
200 if (measure == MeasureTiming::YES) driverStart = Clock::now(); in executeFenced()
273 .timeInDriver = driverEnd - driverStart}; in executeFenced()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.cpp449 void asyncExecute(const V1_3::Request& request, V1_2::MeasureTiming measure, TimePoint driverStart, in asyncExecute() argument
496 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in asyncExecute()
515 TimePoint driverStart; in executeBase() local
516 if (measure == V1_2::MeasureTiming::YES) driverStart = Clock::now(); in executeBase()
534 std::thread([&model, &driver, preparedModel, &poolInfos, request, measure, driverStart, in executeBase()
536 asyncExecute(request, measure, driverStart, model, driver, preparedModel, poolInfos, in executeBase()
579 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronouslyBase() local
580 if (measure == V1_2::MeasureTiming::YES) driverStart = Clock::now(); in executeSynchronouslyBase()
627 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in executeSynchronouslyBase()
663 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
[all …]
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidl.cpp403 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronously() local
404 if (measureTiming) driverStart = Clock::now(); in executeSynchronously()
475 .timeInDriverNs = nanosecondsDuration(driverEnd, driverStart)}; in executeSynchronously()
492 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
493 if (measureTiming) driverStart = Clock::now(); in executeFenced()
590 .timeInDriverNs = nanosecondsDuration(driverEnd, driverStart)}; in executeFenced()