Home
last modified time | relevance | path

Searched refs:now (Results 1 – 13 of 13) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dopen.rs190 let now = PosixTimeSpec::now(); localVariable
195 meta.atime = now;
200 meta.mtime = now;
206 meta.atime = now;
207 meta.mtime = now;
228 let now = PosixTimeSpec::now(); localVariable
229 meta.atime = now;
230 meta.mtime = now;
/DragonOS/kernel/src/sched/
H A Dpelt.rs49 now: u64, in update_load_sum()
54 if now < self.last_update_time { in update_load_sum()
55 self.last_update_time = now; in update_load_sum()
59 let mut delta = now - self.last_update_time; in update_load_sum()
218 pub fn update_load_avg(&mut self, cfs_rq: &mut CfsRunQueue, now: u64) -> bool { in update_load_avg()
220 now, in update_load_avg()
H A Dfair.rs572 let now = self.rq().clock_task(); in update_current() localVariable
576 if unlikely(now <= curr.exec_start) { in update_current()
585 let delta_exec = now - curr.exec_start; in update_current()
589 curr.exec_start = now; in update_current()
849 let now = self.cfs_rq_clock_pelt(); in update_load_avg() localVariable
852 se.force_mut().update_load_avg(self, now); in update_load_avg()
855 let mut decayed = self.update_self_load_avg(now); in update_load_avg()
894 fn update_self_load_avg(&mut self, now: u64) -> u32 { in update_self_load_avg()
945 decayed |= self.__update_load_avg(now) as u32; in update_self_load_avg()
952 fn __update_load_avg(&mut self, now: u64) -> bool { in __update_load_avg()
[all …]
/DragonOS/tools/debugging/logmonitor/src/
H A Devent.rs42 let mut last_tick = Instant::now(); in new()
60 last_tick = Instant::now(); in new()
/DragonOS/user/apps/test-mount/src/
H A Dmain.rs12 let clock = time::Instant::now(); in main()
/DragonOS/docs/community/code_contribution/
H A Dconventional-commit.md20 BREAKING CHANGE: `extends` key in config file is now used for extending other config files
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dmm.rs87 let mut last_time = std::time::Instant::now(); in handle_logs()
103 let current_time = std::time::Instant::now(); in handle_logs()
/DragonOS/kernel/src/ipc/
H A Dshm.rs399 shm_ctim: PosixTimeSpec::now(), in new()
416 self.shm_atim = PosixTimeSpec::now(); in update_atim()
425 self.shm_dtim = PosixTimeSpec::now(); in update_dtim()
434 self.shm_ctim = PosixTimeSpec::now(); in update_ctim()
/DragonOS/kernel/src/time/
H A Dmod.rs70 pub fn now() -> Self { in now() method
240 pub fn now() -> Instant { in now() method
/DragonOS/kernel/src/driver/net/
H A Dloopback.rs280 smoltcp::iface::Interface::new(iface_config, &mut driver, Instant::now().into()); in new()
498 let timestamp: smoltcp::time::Instant = Instant::now().into(); in poll()
H A Dvirtio_net.rs401 let iface = iface::Interface::new(iface_config, &mut device_inner, Instant::now().into()); in new()
662 let timestamp: smoltcp::time::Instant = Instant::now().into(); in poll()
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs202 smoltcp::iface::Interface::new(iface_config, &mut driver, Instant::now().into()); in new()
339 let timestamp: smoltcp::time::Instant = Instant::now().into(); in poll()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.10.md937 * finish primary build of mount(2), usable now