Home
last modified time | relevance | path

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

/DragonOS/user/apps/test_ebpf/src/
H A Dmain.rs37 let mut now = time::Instant::now(); in main() localVariable
39 let new_now = time::Instant::now(); in main()
40 let duration = new_now.duration_since(now); in main()
50 now = new_now; in main()
/DragonOS/kernel/src/filesystem/vfs/
H A Dopen.rs275 let now = PosixTimeSpec::now(); localVariable
280 meta.atime = now;
285 meta.mtime = now;
291 meta.atime = now;
292 meta.mtime = now;
313 let now = PosixTimeSpec::now(); localVariable
314 meta.atime = now;
315 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.rs14 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/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/kernel/src/driver/net/
H A Dloopback.rs286 smoltcp::iface::Interface::new(iface_config, &mut driver, Instant::now().into()); in new()
504 let timestamp: smoltcp::time::Instant = Instant::now().into(); in poll()
H A Dvirtio_net.rs408 let iface = iface::Interface::new(iface_config, &mut device_inner, Instant::now().into()); in new()
675 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
/DragonOS/kernel/crates/rbpf/
H A DREADME.md101 eBPF has been initially designed to filter packets (now it has some other hooks