Searched refs:virtual_runtime (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.8/kernel/src/sched/ |
D | cfs.rs | 70 self.queue.insert(pcb.virtual_runtime, pcb); in enqueue() 96 return Some(self.queue.get_first().unwrap().1.virtual_runtime); in min_vruntime() 156 current_pcb().virtual_runtime += 1; in timer_update_jiffies() 163 pcb.virtual_runtime = cpu_queue.min_vruntime().unwrap(); in enqueue_reset_vruntime() 195 || current_pcb().virtual_runtime >= proc.virtual_runtime in sched()
|
/DragonOS-0.1.8/kernel/src/driver/video/ |
D | video.c | 66 video_daemon_pcb->virtual_runtime = in video_refresh_daemon() 88 video_daemon_pcb->virtual_runtime = 0; in video_refresh_framebuffer() 112 video_daemon_pcb->virtual_runtime = 0; // 特殊情况, 最高优先级, 以后再改 in video_reinitialize()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | process.c | 59 ….virtual_runtime = 0, .fds = {0}, .next_pcb = &proc, .prev_pcb = &proc, .parent_pcb = &proc, .exit… 164 rt_pcb->virtual_runtime = 0x7fffffffffffffff; in process_init_rt_pcb() 178 kinfo("initial proc running...\targ:%#018lx, vruntime=%d", arg, current_pcb->virtual_runtime); in initial_kernel_thread() 343 current_pcb->virtual_runtime = 0; in process_init() 354 initial_proc_union.pcb.virtual_runtime = (1UL << 60); in process_init() 356 current_pcb->virtual_runtime = (1UL << 60); in process_init()
|
D | proc-types.h | 107 int64_t virtual_runtime; // 虚拟运行时间 member
|
D | fork.c | 73 tsk->virtual_runtime = 0; in do_fork()
|
/DragonOS-0.1.8/kernel/src/smp/ |
D | smp.c | 183 current_pcb->virtual_runtime = 0; in smp_ap_start()
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 167 &mut format!("\nvrtime:\t{}", pcb.virtual_runtime) in open_status()
|