struct Slot {
pid: AtomicUsize,
class: AtomicUsize,
start_ms: AtomicU64,
received: AtomicU64,
win_start_ms: AtomicU64,
win_base: AtomicU64,
depth: AtomicUsize,
aborted: AtomicBool,
why: AtomicUsize,
}Fields§
§pid: AtomicUsize取得中のスレッドの PID(0 は空き)。
class: AtomicUsize取得の種類(FetchClass::to_index)。
start_ms: AtomicU64§received: AtomicU64§win_start_ms: AtomicU64直近の区間の始まりの時刻と、そのときまでに受け取っていた量。
win_base: AtomicU64§depth: AtomicUsize§aborted: AtomicBool§why: AtomicUsize打ち切った理由(0: 無し、1: 全体の上限、2: 平均が遅い、3: 直近が遅い)。
Auto Trait Implementations§
impl !Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more