Home
last modified time | relevance | path

Searched refs:clock (Results 1 – 15 of 15) sorted by relevance

/DragonOS-0.1.8/user/apps/test_signal/
Dmain.c41 clock_t last = clock(); in main()
45 if ((clock() - last) / CLOCKS_PER_SEC >= 1) in main()
48 last = clock(); in main()
/DragonOS-0.1.8/kernel/src/time/
Dtimekeeping.rs41 clock: Option<Arc<dyn Clocksource>>, field
68 clock: None, in new()
103 pub fn timekeeper_setup_internals(&self, clock: Arc<dyn Clocksource>) { in timekeeper_setup_internals()
106 let mut clock_data = clock.clocksource_data(); in timekeeper_setup_internals()
107 clock_data.watchdog_last = clock.read(); in timekeeper_setup_internals()
108 if clock.update_clocksource_data(clock_data).is_err() { in timekeeper_setup_internals()
111 timekeeper.clock.replace(clock.clone()); in timekeeper_setup_internals()
113 let clock_data = clock.clocksource_data(); in timekeeper_setup_internals()
137 let clock = timekeeper.clock.clone().unwrap(); in tk_get_ns() localVariable
138 let clock_now = clock.read(); in tk_get_ns()
[all …]
Dsyscall.rs75 pub fn clock() -> Result<usize, SystemError> { in clock() method
76 return Ok(super::timer::clock() as usize); in clock()
Djiffies.rs10 timer::clock,
36 CycleNum(clock()) in read()
Dtimer.rs298 pub fn clock() -> u64 { in clock() function
304 clock() in rs_clock()
Dclocksource.rs17 timer::{clock, Timer, TimerFunction},
149 self.timer_expires += clock() + WATCHDOG_INTERVAL; in clocksource_start_watchdog()
772 for clock in del_clocks.iter() { in clocksource_watchdog_kthread()
773 clock.clocksource_change_rating(0); in clocksource_watchdog_kthread()
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dtime.md32 ``clock_t clock()`` : 获得当前系统时间
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dtime.h49 clock_t clock();
/DragonOS-0.1.8/user/libs/libc/src/
Dtime.c39 clock_t clock() in clock() function
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs24 time::timer::clock,
173 let end = clock() + 500 * 2; in do_softirq()
215 if clock() < end && max_restart > 0 { in do_softirq()
/DragonOS-0.1.8/docs/kernel/sched/
Dkernel_timer.md92 pub fn clock() -> u64
/DragonOS-0.1.8/
Dbochsrc34 clock: sync=none, time0=local, rtc_sync=0
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.0.md227 - clock
DV0.1.6.md141 * 修改timer的clock()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs651 SYS_CLOCK => Self::clock(), in handle()