Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/sample/
DSampleDriver.cpp460 void asyncExecute(const V1_3::Request& request, V1_2::MeasureTiming measure, TimePoint driverStart, in asyncExecute() argument
507 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in asyncExecute()
526 TimePoint driverStart; in executeBase() local
527 if (measure == V1_2::MeasureTiming::YES) driverStart = Clock::now(); in executeBase()
545 std::thread([&model, &driver, preparedModel, &poolInfos, request, measure, driverStart, in executeBase()
547 asyncExecute(request, measure, driverStart, model, driver, preparedModel, poolInfos, in executeBase()
590 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronouslyBase() local
591 if (measure == V1_2::MeasureTiming::YES) driverStart = Clock::now(); in executeSynchronouslyBase()
638 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in executeSynchronouslyBase()
674 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
[all …]
DCanonicalPreparedModel.cpp142 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in execute() local
143 if (measure == MeasureTiming::YES) driverStart = Clock::now(); in execute()
187 timing = {.timeOnDevice = deviceEnd - deviceStart, .timeInDriver = driverEnd - driverStart}; in execute()
202 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
203 if (measure == MeasureTiming::YES) driverStart = Clock::now(); in executeFenced()
271 .timeInDriver = driverEnd - driverStart}; in executeFenced()
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.cpp394 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronously() local
395 if (measureTiming) driverStart = Clock::now(); in executeSynchronously()
466 .timeInDriverNs = nanosecondsDuration(driverEnd, driverStart)}; in executeSynchronously()
483 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
484 if (measureTiming) driverStart = Clock::now(); in executeFenced()
581 .timeInDriverNs = nanosecondsDuration(driverEnd, driverStart)}; in executeFenced()