pub fn read_nb_context_switches_total_count(&self) -> Option<u64> {
        if let Ok(result) = KernelStats::new() {
            return Some(result.ctxt);
        }
        None
    }
/// Returns the current number of context switches
Returns the current number of context switches
Returns the current number of context switches
pub fn read_nb_context_switches_total_count(&self) -> Option<u64> {
        if let Ok(result) = KernelStats::new() {
            return Some(result.ctxt);
        }
        None
    }
pub fn read_nb_context_switches_total_count ( & self ) -> Option < u64 > { if let Ok ( result ) = KernelStats :: new ( ) { return Some ( result . ctxt ) ; } None }
Returns the current number of context switches
Returns the current number of context switches
&self
&self