src/processor.cpp
// NOTE: This processor utilization is measured over the time since system startup 
//       until current time. To get a more accurate reading, it is suggested to gather data for
//       two different time periods and use the difference to calculate utilization
This processor utilization is measured over the time since system startup
until current time. To get a more accurate reading, it is suggested to gather data for
two different time periods and use the difference to calculate utilization
This processor utilization is measured over the time since system startup until current time . To get a more accurate reading it is suggested to gather data for two different time periods and use the difference to calculate utilization
float Processor::Utilization() { 
    long TotalUse = GetTotal();
    long Idle = GetIdle();
    float utilization = (float(TotalUse) - float(Idle)) / float(TotalUse);
    return utilization;
}
float Processor :: Utilization ( ) { long TotalUse = GetTotal ( ) ; long Idle = GetIdle ( ) ; float utilization = ( float ( TotalUse ) - float ( Idle ) ) / float ( TotalUse ) ; return utilization ; }
NOTE: This processor utilization is measured over the time since system startup
until current time.
NOTE : This processor utilization is measured over the time since system startup until current time .