Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/habanalabs/
Ddevice.c467 ktime_t zero_ktime, curr = ktime_get(); in hl_device_utilization() local
472 zero_ktime = ktime_set(0, 0); in hl_device_utilization()
477 if (!ktime_compare(ts->busy_to_idle_ts, zero_ktime) && in hl_device_utilization()
478 !ktime_compare(ts->idle_to_busy_ts, zero_ktime)) { in hl_device_utilization()
504 if (!ktime_compare(ts->busy_to_idle_ts, zero_ktime)) { in hl_device_utilization()
507 zero_ktime)) in hl_device_utilization()
534 if (ktime_compare(ts->busy_to_idle_ts, zero_ktime)) in hl_device_utilization()