Lines Matching refs:duration
210 uint64_t duration; in getExecutionInfo() local
214 auto result = mExecution->getDuration(Duration::ON_HARDWARE, &duration); in getExecutionInfo()
216 timingLaunched->timeOnDeviceNs = (duration == uint64cap) ? -1 in getExecutionInfo()
217 : (duration > int64cap) in getExecutionInfo()
219 : static_cast<int64_t>(duration); in getExecutionInfo()
221 result = mExecution->getDuration(Duration::IN_DRIVER, &duration); in getExecutionInfo()
223 timingLaunched->timeInDriverNs = (duration == uint64cap) ? -1 in getExecutionInfo()
224 : (duration > int64cap) in getExecutionInfo()
226 : static_cast<int64_t>(duration); in getExecutionInfo()
228 result = mExecution->getDuration(Duration::FENCED_ON_HARDWARE, &duration); in getExecutionInfo()
230 timingFenced->timeOnDeviceNs = (duration == uint64cap) ? -1 in getExecutionInfo()
231 : (duration > int64cap) ? int64cap in getExecutionInfo()
232 : static_cast<int64_t>(duration); in getExecutionInfo()
234 result = mExecution->getDuration(Duration::FENCED_IN_DRIVER, &duration); in getExecutionInfo()
236 timingFenced->timeInDriverNs = (duration == uint64cap) ? -1 in getExecutionInfo()
237 : (duration > int64cap) ? int64cap in getExecutionInfo()
238 : static_cast<int64_t>(duration); in getExecutionInfo()
371 uint64_t duration; in executeSynchronouslyInternal() local
375 auto result = execution->getDuration(Duration::ON_HARDWARE, &duration); in executeSynchronouslyInternal()
377 timeOnDeviceNs = (duration == uint64cap) ? -1 in executeSynchronouslyInternal()
378 : (duration > int64cap) ? int64cap in executeSynchronouslyInternal()
379 : static_cast<int64_t>(duration); in executeSynchronouslyInternal()
381 result = execution->getDuration(Duration::IN_DRIVER, &duration); in executeSynchronouslyInternal()
383 timeInDriverNs = (duration == uint64cap) ? -1 in executeSynchronouslyInternal()
384 : (duration > int64cap) ? int64cap in executeSynchronouslyInternal()
385 : static_cast<int64_t>(duration); in executeSynchronouslyInternal()