Searched refs:clock (Results 1 – 15 of 15) sorted by relevance
/DragonOS-0.1.8/user/apps/test_signal/ |
D | main.c | 41 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/ |
D | timekeeping.rs | 41 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 …]
|
D | syscall.rs | 75 pub fn clock() -> Result<usize, SystemError> { in clock() method 76 return Ok(super::timer::clock() as usize); in clock()
|
D | jiffies.rs | 10 timer::clock, 36 CycleNum(clock()) in read()
|
D | timer.rs | 298 pub fn clock() -> u64 { in clock() function 304 clock() in rs_clock()
|
D | clocksource.rs | 17 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/ |
D | time.md | 32 ``clock_t clock()`` : 获得当前系统时间
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | time.h | 49 clock_t clock();
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | time.c | 39 clock_t clock() in clock() function
|
/DragonOS-0.1.8/kernel/src/exception/ |
D | softirq.rs | 24 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/ |
D | kernel_timer.md | 92 pub fn clock() -> u64
|
/DragonOS-0.1.8/ |
D | bochsrc | 34 clock: sync=none, time0=local, rtc_sync=0
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.0.md | 227 - clock
|
D | V0.1.6.md | 141 * 修改timer的clock()
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | mod.rs | 651 SYS_CLOCK => Self::clock(), in handle()
|