Home
last modified time | relevance | path

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

/DragonOS/kernel/src/time/
H A Djiffies.rs11 clocksource::{Clocksource, ClocksourceData, ClocksourceFlags, ClocksourceMask, CycleNum, HZ},
20 pub const LATCH: u32 = (CLOCK_TICK_RATE + (HZ as u32) / 2) / HZ as u32;
22 pub const TICK_NESC: u32 = (NSEC_PER_SEC + (HZ as u32) / 2) / HZ as u32;
H A Dtimekeeping.rs20 clocksource::{clocksource_cyc2ns, Clocksource, CycleNum, HZ},
25 pub const NTP_INTERVAL_FREQ: u64 = HZ;
H A Dclocksource.rs60 pub const HZ: u64 = 250; constant
63 pub const WATCHDOG_INTERVAL: u64 = HZ >> 1;
68 pub const MAX_SKEW_USEC: u64 = 125 * WATCHDOG_INTERVAL / HZ;
/DragonOS/kernel/src/arch/x86_64/
H A Dtime.rs1 use crate::time::{clocksource::HZ, TimeArch};
6 pub const CLOCK_TICK_RATE: u32 = HZ as u32 * 1000000;
/DragonOS/kernel/src/arch/riscv64/
H A Dtime.rs5 time::{clocksource::HZ, TimeArch},
10 pub const CLOCK_TICK_RATE: u32 = HZ as u32 * 1000000;
/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs25 clocksource::HZ, tick_common::tick_handle_periodic, timer::try_raise_timer_softirq,
69 let new = riscv_time_base_freq() / HZ as usize; in riscv_sbi_timer_init_local()
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dapic_timer.rs17 use crate::time::clocksource::HZ;
187 pub const INTERVAL_MS: u64 = 1000 / HZ;
/DragonOS/kernel/src/sched/
H A Dmod.rs37 time::{clocksource::HZ, timer::clock},
55 const LOAD_FREQ: usize = HZ as usize * 5 + 1;
345 cala_load_update: (clock() + (5 * HZ + 1)) as usize, in new()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.10.md93 - fix(riscv/process): 把riscv的调度时钟节拍率与HZ同步,并且修复切换到用户态的时候忘了在内核态关中断的bug (#780)
268 fix(riscv/process): 把riscv的调度时钟节拍率与HZ同步,并且修复切换到用户态的时候忘了在内核态关中断的bug (#780)
H A DV0.1.9.md1122 增加getrusage,并把apic timer的频率调整为系统HZ (#435)