Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/time/
Djiffies.rs9 clocksource::{Clocksource, ClocksourceData, ClocksourceFlags, ClocksourceMask, CycleNum, HZ},
34 impl Clocksource for ClocksourceJiffies {
44 fn clocksource(&self) -> Arc<dyn Clocksource> { in clocksource() argument
90 let jiffies = clocksource_default_clock() as Arc<dyn Clocksource>; in jiffies_init()
Dclocksource.rs23 pub static ref CLOCKSOURCE_LIST: SpinLock<LinkedList<Arc<dyn Clocksource>>> =
26 pub static ref WATCHDOG_LIST: SpinLock<LinkedList<Arc<dyn Clocksource>>> =
37 pub static CUR_CLOCKSOURCE: SpinLock<Option<Arc<dyn Clocksource>>> = SpinLock::new(None);
117 watchdog: Option<Arc<dyn Clocksource>>,
136 fn get_watchdog(&mut self) -> &mut Option<Arc<dyn Clocksource>> { in get_watchdog() argument
177 pub trait Clocksource: Send + Sync + Debug { trait
208 fn clocksource(&self) -> Arc<dyn Clocksource>; in clocksource() argument
247 impl dyn Clocksource { implementation
750 let mut del_clocks: Vec<Arc<dyn Clocksource>> = Vec::new(); in clocksource_watchdog_kthread()
Dtimekeeping.rs14 clocksource::{clocksource_cyc2ns, Clocksource, CycleNum, HZ},
41 clock: Option<Arc<dyn Clocksource>>,
103 pub fn timekeeper_setup_internals(&self, clock: Arc<dyn Clocksource>) { in timekeeper_setup_internals() argument