/DragonOS-0.1.9/kernel/src/arch/x86_64/ |
D | time.rs | 1 use crate::time::TimeArch; 7 unsafe { x86::time::rdtsc() as usize } in get_cycles()
|
D | mod.rs | 22 pub mod time; module 35 pub use crate::arch::time::X86_64TimeArch as CurrentTimeArch;
|
D | c_adapter.rs | 1 use crate::{sched::SchedArch, time::TimeArch};
|
/DragonOS-0.1.9/kernel/src/time/ |
D | mod.rs | 387 impl From<::core::time::Duration> for Duration { 388 fn from(other: ::core::time::Duration) -> Duration { in from() 393 impl From<Duration> for ::core::time::Duration { 395 ::core::time::Duration::from_micros(val.total_micros()) in from() 400 impl From<smoltcp::time::Instant> for Instant { 401 fn from(val: smoltcp::time::Instant) -> Self { in from() 406 impl From<Instant> for smoltcp::time::Instant { 408 smoltcp::time::Instant::from_millis(val.millis()) in from() 413 impl From<smoltcp::time::Duration> for Duration { 414 fn from(val: smoltcp::time::Duration) -> Self { in from() [all …]
|
D | sleep.rs | 11 time::timekeeping::getnstimeofday,
|
D | syscall.rs | 8 time::{sleep::nanosleep, TimeSpec},
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/ |
D | mod.rs | 18 pub mod time; module 25 pub use self::time::RiscV64TimeArch as CurrentTimeArch;
|
D | time.rs | 1 use crate::time::TimeArch;
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/ |
D | event.rs | 11 timestamp: std::time::Instant,
|
D | mod.rs | 100 std::thread::sleep(std::time::Duration::from_secs(1)); in run_main()
|
/DragonOS-0.1.9/kernel/crates/klog_types/src/ |
D | lib.rs | 20 pub time: u64, field 46 time: u64, in new() 51 time, in new() 65 time: 0, in zeroed()
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/ |
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() 165 std::thread::sleep(std::time::Duration::from_secs(1)); in run() 256 std::thread::sleep(std::time::Duration::from_secs(1)); in load_header()
|
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/ |
D | e1000e_driver.rs | 14 time::Instant, 131 _timestamp: smoltcp::time::Instant, in receive() 146 fn transmit(&mut self, _timestamp: smoltcp::time::Instant) -> Option<Self::TxToken<'_>> { in transmit() 267 let timestamp: smoltcp::time::Instant = Instant::now().into(); in poll()
|
/DragonOS-0.1.9/kernel/src/debug/klog/ |
D | mm.rs | 10 time::TimeArch,
|
/DragonOS-0.1.9/kernel/src/filesystem/procfs/ |
D | log.rs | 5 use crate::time::TimeSpec;
|
/DragonOS-0.1.9/kernel/src/driver/net/ |
D | virtio_net.rs | 27 time::Instant, 178 _timestamp: smoltcp::time::Instant, in receive() 190 fn transmit(&mut self, _timestamp: smoltcp::time::Instant) -> Option<Self::TxToken<'_>> { in transmit() 336 let timestamp: smoltcp::time::Instant = Instant::now().into(); in poll()
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/ |
D | event.rs | 6 use std::time::{Duration, Instant};
|
/DragonOS-0.1.9/kernel/src/process/ |
D | resource.rs | 4 use crate::time::TimeSpec;
|
/DragonOS-0.1.9/kernel/src/init/ |
D | init.rs | 23 time::{
|
/DragonOS-0.1.9/kernel/src/net/ |
D | net_core.rs | 10 time::timer::{next_n_ms_timer_jiffies, Timer, TimerFunction}, 57 dhcp_socket.set_max_lease_duration(Some(smoltcp::time::Duration::from_secs(10))); in dhcp_query()
|
/DragonOS-0.1.9/kernel/src/libs/futex/ |
D | syscall.rs | 3 use crate::{mm::VirtAddr, syscall::Syscall, time::TimeSpec};
|
D | futex.rs | 17 time::{ 265 let time = abs_time.unwrap(); in futex_wait() localVariable 269 let sec = time.tv_sec; in futex_wait() 270 let nsec = time.tv_nsec; in futex_wait()
|
/DragonOS-0.1.9/kernel/src/sched/ |
D | completion.rs | 6 time::timer::schedule_timeout,
|
/DragonOS-0.1.9/kernel/src/net/event_poll/ |
D | syscall.rs | 12 time::TimeSpec,
|
/DragonOS-0.1.9/kernel/src/ |
D | lib.rs | 63 mod time; module
|