Home
last modified time | relevance | path

Searched defs:Instant (Results 1 – 4 of 4) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/monitor/
Dtime_group.rs49 pub(crate) fn set_dns_start(&mut self, start: Instant) { in set_dns_start()
53 pub(crate) fn set_dns_end(&mut self, end: Instant) { in set_dns_end()
60 pub(crate) fn set_tcp_start(&mut self, start: Instant) { in set_tcp_start()
64 pub(crate) fn set_tcp_end(&mut self, end: Instant) { in set_tcp_end()
72 pub(crate) fn set_quic_start(&mut self, start: Instant) { in set_quic_start()
77 pub(crate) fn set_quic_end(&mut self, end: Instant) { in set_quic_end()
85 pub(crate) fn set_tls_start(&mut self, start: Instant) { in set_tls_start()
90 pub(crate) fn set_tls_end(&mut self, end: Instant) { in set_tls_end()
97 pub(crate) fn set_transfer_start(&mut self, start: Instant) { in set_transfer_start()
101 pub(crate) fn set_transfer_end(&mut self, end: Instant) { in set_transfer_end()
[all …]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
Dtimer.rs77 pub fn timer_at(start: Instant, period: Duration) -> Timer { in timer_at()
138 pub async fn next_period(&mut self) -> Instant { in next_period()
142 fn poll_next_period(&mut self, cx: &mut Context<'_>) -> Poll<Instant> { in poll_next_period()
Ddriver.rs49 pub(crate) fn start_time(&self) -> Instant { in start_time()
Dsleep.rs173 pub(crate) fn deadline(&self) -> Instant { in deadline()