Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp142 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in execute() local
167 if (measure == MeasureTiming::YES) deviceStart = Clock::now(); in execute()
187 timing = {.timeOnDevice = deviceEnd - deviceStart, .timeInDriver = driverEnd - driverStart}; in execute()
202 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
248 if (measure == MeasureTiming::YES) deviceStart = 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
487 if (measure == V1_2::MeasureTiming::YES) deviceStart = Clock::now(); in asyncExecute()
506 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in asyncExecute()
590 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronouslyBase() local
619 if (measure == V1_2::MeasureTiming::YES) deviceStart = Clock::now(); in executeSynchronouslyBase()
637 .timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in executeSynchronouslyBase()
674 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
732 if (measure == V1_2::MeasureTiming::YES) deviceStart = 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
441 if (measureTiming) deviceStart = Clock::now(); in executeSynchronously()
465 aidl_hal::Timing timing = {.timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeSynchronously()
483 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() local
556 if (measureTiming) deviceStart = Clock::now(); in executeFenced()
580 timingSinceLaunch = {.timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeFenced()
583 .timeOnDeviceNs = nanosecondsDuration(deviceEnd, deviceStart), in executeFenced()