Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 52) sorted by relevance

123

/DragonOS-0.1.9/kernel/src/arch/x86_64/
Dtime.rs1 use crate::time::TimeArch;
7 unsafe { x86::time::rdtsc() as usize } in get_cycles()
Dmod.rs22 pub mod time; module
35 pub use crate::arch::time::X86_64TimeArch as CurrentTimeArch;
Dc_adapter.rs1 use crate::{sched::SchedArch, time::TimeArch};
/DragonOS-0.1.9/kernel/src/time/
Dmod.rs387 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 …]
Dsleep.rs11 time::timekeeping::getnstimeofday,
Dsyscall.rs8 time::{sleep::nanosleep, TimeSpec},
/DragonOS-0.1.9/kernel/src/arch/riscv64/
Dmod.rs18 pub mod time; module
25 pub use self::time::RiscV64TimeArch as CurrentTimeArch;
Dtime.rs1 use crate::time::TimeArch;
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/
Devent.rs11 timestamp: std::time::Instant,
Dmod.rs100 std::thread::sleep(std::time::Duration::from_secs(1)); in run_main()
/DragonOS-0.1.9/kernel/crates/klog_types/src/
Dlib.rs20 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/
Dmm.rs87 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/
De1000e_driver.rs14 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/
Dmm.rs10 time::TimeArch,
/DragonOS-0.1.9/kernel/src/filesystem/procfs/
Dlog.rs5 use crate::time::TimeSpec;
/DragonOS-0.1.9/kernel/src/driver/net/
Dvirtio_net.rs27 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/
Devent.rs6 use std::time::{Duration, Instant};
/DragonOS-0.1.9/kernel/src/process/
Dresource.rs4 use crate::time::TimeSpec;
/DragonOS-0.1.9/kernel/src/init/
Dinit.rs23 time::{
/DragonOS-0.1.9/kernel/src/net/
Dnet_core.rs10 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/
Dsyscall.rs3 use crate::{mm::VirtAddr, syscall::Syscall, time::TimeSpec};
Dfutex.rs17 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/
Dcompletion.rs6 time::timer::schedule_timeout,
/DragonOS-0.1.9/kernel/src/net/event_poll/
Dsyscall.rs12 time::TimeSpec,
/DragonOS-0.1.9/kernel/src/
Dlib.rs63 mod time; module

123