Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp142 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in execute() local
169 if (measure == MeasureTiming::YES) deviceEnd = Clock::now(); in execute()
187 timing = {.timeOnDevice = deviceEnd - deviceStart, .timeInDriver = driverEnd - driverStart}; in execute()
202 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
250 if (measure == MeasureTiming::YES) deviceEnd = Clock::now(); in executeFenced()
270 timingSinceLaunch = {.timeOnDevice = deviceEnd - deviceStart, in executeFenced()
272 timingAfterFence = {.timeOnDevice = deviceEnd - deviceStart, in executeFenced()
DSampleDriver.cpp486 TimePoint driverEnd, deviceStart, deviceEnd; in asyncExecute() local
490 if (measure == V1_2::MeasureTiming::YES) deviceEnd = Clock::now(); in asyncExecute()
506 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in asyncExecute()
590 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronouslyBase() local
622 if (measure == V1_2::MeasureTiming::YES) deviceEnd = Clock::now(); in executeSynchronouslyBase()
637 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in executeSynchronouslyBase()
674 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
735 if (measure == V1_2::MeasureTiming::YES) deviceEnd = Clock::now(); in executeFenced()
759 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in executeFenced()
762 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in executeFenced()
[all …]
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.cpp394 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronously() local
443 if (measureTiming) deviceEnd = Clock::now(); in executeSynchronously()
465 aidl_hal::Timing timing = {.timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeSynchronously()
483 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
558 if (measureTiming) deviceEnd = Clock::now(); in executeFenced()
580 timingSinceLaunch = {.timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeFenced()
583 .timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeFenced()