pub struct SyscallStats {
pub total_syscalls: u64,
pub slow_syscalls: u64,
pub total_time_us: u64,
pub syscalls_by_name: HashMap<String, (u64, u64)>,
pub slowest_syscalls: Vec<SyscallEvent>,
}Expand description
Aggregated syscall statistics
Fields§
§total_syscalls: u64Total number of syscalls
slow_syscalls: u64Number of slow syscalls (>10ms)
total_time_us: u64Total time spent in syscalls (microseconds)
syscalls_by_name: HashMap<String, (u64, u64)>Syscalls by name with their count and total duration
slowest_syscalls: Vec<SyscallEvent>Top N slowest syscalls
Trait Implementations§
Source§impl Clone for SyscallStats
impl Clone for SyscallStats
Source§fn clone(&self) -> SyscallStats
fn clone(&self) -> SyscallStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyscallStats
impl Debug for SyscallStats
Source§impl Default for SyscallStats
impl Default for SyscallStats
Source§fn default() -> SyscallStats
fn default() -> SyscallStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SyscallStats
impl RefUnwindSafe for SyscallStats
impl Send for SyscallStats
impl Sync for SyscallStats
impl Unpin for SyscallStats
impl UnwindSafe for SyscallStats
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