/DragonOS/user/apps/test_ebpf/src/ |
H A D | main.rs | 37 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 D | open.rs | 275 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 D | pelt.rs | 49 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 D | fair.rs | 572 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 D | event.rs | 42 let mut last_tick = Instant::now(); in new() 60 last_tick = Instant::now(); in new()
|
/DragonOS/user/apps/test-mount/src/ |
H A D | main.rs | 14 let clock = time::Instant::now(); in main()
|
/DragonOS/docs/community/code_contribution/ |
H A D | conventional-commit.md | 20 BREAKING CHANGE: `extends` key in config file is now used for extending other config files
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mm.rs | 87 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 D | shm.rs | 399 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 D | mod.rs | 70 pub fn now() -> Self { in now() method 240 pub fn now() -> Instant { in now() method
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 202 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 D | loopback.rs | 286 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 D | virtio_net.rs | 408 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 D | V0.1.10.md | 937 * finish primary build of mount(2), usable now
|
/DragonOS/kernel/crates/rbpf/ |
H A D | README.md | 101 eBPF has been initially designed to filter packets (now it has some other hooks
|