refactor(irtt-client): modularize client components

This commit is contained in:
Nils Andreas Svee committed 2026-04-28 16:33:05 +07:00
1 parent 7b26115a35
commit 01d4466bc2
6 files changed
+328

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
use std::time::{Instant, SystemTime};
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct ClientTimestamp {
pub wall: SystemTime,
pub mono: Instant,
}
impl ClientTimestamp {
pub fn now() -> Self {
Self {
wall: SystemTime::now(),
mono: Instant::now(),
}
}
}