Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp137 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in execute() local
164 if (measure == MeasureTiming::YES) deviceEnd = Clock::now(); in execute()
182 timing = {.timeOnDevice = deviceEnd - deviceStart, .timeInDriver = driverEnd - driverStart}; in execute()
199 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
251 if (measure == MeasureTiming::YES) deviceEnd = Clock::now(); in executeFenced()
272 timingSinceLaunch = {.timeOnDevice = deviceEnd - deviceStart, in executeFenced()
274 timingAfterFence = {.timeOnDevice = deviceEnd - deviceStart, in executeFenced()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.cpp475 TimePoint driverEnd, deviceStart, deviceEnd; in asyncExecute() local
479 if (measure == V1_2::MeasureTiming::YES) deviceEnd = Clock::now(); in asyncExecute()
495 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in asyncExecute()
579 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronouslyBase() local
611 if (measure == V1_2::MeasureTiming::YES) deviceEnd = Clock::now(); in executeSynchronouslyBase()
626 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in executeSynchronouslyBase()
663 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
724 if (measure == V1_2::MeasureTiming::YES) deviceEnd = Clock::now(); in executeFenced()
748 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in executeFenced()
751 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in executeFenced()
[all …]
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidl.cpp403 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronously() local
452 if (measureTiming) deviceEnd = Clock::now(); in executeSynchronously()
474 aidl_hal::Timing timing = {.timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeSynchronously()
492 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
567 if (measureTiming) deviceEnd = Clock::now(); in executeFenced()
589 timingSinceLaunch = {.timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeFenced()
592 .timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeFenced()