pub fn refresh(&mut self) {
        let sockets = &mut self.sockets;
        for s in sockets {
            // refresh each socket with new record
            s.refresh_record();
            s.refresh_stats();
            let domains = s.get_domains();
            for d in domains {
                d.refresh_record();
            }
            //let cores = s.get_cores();
            //for c in cores {
            //
            //}
        }
        self.refresh_procs();
        self.refresh_record();
        self.refresh_stats();
    }
/// Triggers ProcessTracker refresh on process stats
/// and power consumption, CPU stats and cores power comsumption,
/// CPU sockets stats and power consumption.
Triggers ProcessTracker refresh on process stats
and power consumption, CPU stats and cores power comsumption,
CPU sockets stats and power consumption.
Triggers ProcessTracker refresh on process stats and power consumption CPU stats and cores power comsumption CPU sockets stats and power consumption .
pub fn refresh(&mut self) {
        let sockets = &mut self.sockets;
        for s in sockets {
            // refresh each socket with new record
            s.refresh_record();
            s.refresh_stats();
            let domains = s.get_domains();
            for d in domains {
                d.refresh_record();
            }
            //let cores = s.get_cores();
            //for c in cores {
            //
            //}
        }
        self.refresh_procs();
        self.refresh_record();
        self.refresh_stats();
    }
pub fn refresh ( & mut self ) { let sockets = & mut self . sockets ; for s in sockets { // refresh each socket with new record s . refresh_record ( ) ; s . refresh_stats ( ) ; let domains = s . get_domains ( ) ; for d in domains { d . refresh_record ( ) ; } //let cores = s.get_cores(); //for c in cores { // //} } self . refresh_procs ( ) ; self . refresh_record ( ) ; self . refresh_stats ( ) ; }
Triggers ProcessTracker refresh on process stats
and power consumption, CPU stats and cores power comsumption,
CPU sockets stats and power consumption.
Triggers ProcessTracker refresh on process stats and power consumption CPU stats and cores power comsumption CPU sockets stats and power consumption .
&mut self
&mut self