pub fn refresh_stats(&mut self) {
        self.stat_buffer.insert(0, self.read_stats().unwrap());
        if !self.stat_buffer.is_empty() {
            self.clean_old_stats();
        }
    }
/// Gets currents stats and stores them as a CPUStat instance in self.stat_buffer
Gets currents stats and stores them as a CPUStat instance in self.stat_buffer
Gets currents stats and stores them as a CPUStat instance in self . stat_buffer
pub fn refresh_stats(&mut self) {
        self.stat_buffer.insert(0, self.read_stats().unwrap());
        if !self.stat_buffer.is_empty() {
            self.clean_old_stats();
        }
    }
pub fn refresh_stats ( & mut self ) { self . stat_buffer . insert ( 0 , self . read_stats ( ) . unwrap ( ) ) ; if ! self . stat_buffer . is_empty ( ) { self . clean_old_stats ( ) ; } }
Gets currents stats and stores them as a CPUStat instance in self.stat_buffer
Gets currents stats and stores them as a CPUStat instance in self . stat_buffer
&mut self
&mut self