Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/time/
Dtimer.h10 uint64_t volatile timer_jiffies = 0; // 系统时钟计数 variable
13 #define cal_next_n_ms_jiffies(expire_ms) (timer_jiffies + 1000 * (expire_ms))
15 #define cal_next_n_us_jiffies(expire_us) (timer_jiffies + (expire_us))
Dtimer.c24 timer_jiffies = 0; in timer_init()
45 while ((!list_empty(&timer_func_head.list)) && (tmp->expire_jiffies <= timer_jiffies)) in do_timer_softirq()
128 return timer_jiffies; in sys_clock()
133 return timer_jiffies; in clock()
175 timeout -= timer_jiffies; in schedule_timeout_ms()
/DragonOS-0.1.2/kernel/src/driver/timers/HPET/
DHPET.c70 timer_jiffies += HPET0_INTERVAL; in HPET_handler()
79 …list_next(&timer_func_head.list), struct timer_func_list_t, list)->expire_jiffies <= timer_jiffies) in HPET_handler()
83 … if (timer_jiffies >= video_refresh_expire_jiffies || (video_last_refresh_pid != current_pcb->pid)) in HPET_handler()
87 if (unlikely(timer_jiffies >= (video_refresh_expire_jiffies + (1 << 17)))) in HPET_handler()
89 video_refresh_expire_jiffies = timer_jiffies + (1 << 20); in HPET_handler()