Lines Matching refs:cur_time
75 static void vgpu_update_timeslice(struct intel_vgpu *vgpu, ktime_t cur_time) in vgpu_update_timeslice() argument
84 delta_ts = ktime_sub(cur_time, vgpu_data->sched_in_time); in vgpu_update_timeslice()
87 vgpu_data->sched_in_time = cur_time; in vgpu_update_timeslice()
138 ktime_t cur_time; in try_to_schedule_next_vgpu() local
160 cur_time = ktime_get(); in try_to_schedule_next_vgpu()
161 vgpu_update_timeslice(scheduler->current_vgpu, cur_time); in try_to_schedule_next_vgpu()
163 vgpu_data->sched_in_time = cur_time; in try_to_schedule_next_vgpu()
243 ktime_t cur_time; in intel_gvt_schedule() local
246 cur_time = ktime_get(); in intel_gvt_schedule()
250 if (cur_time >= sched_data->expire_time) { in intel_gvt_schedule()
253 cur_time, GVT_TS_BALANCE_PERIOD_MS); in intel_gvt_schedule()
258 vgpu_update_timeslice(gvt->scheduler.current_vgpu, cur_time); in intel_gvt_schedule()