src/linux_parser.cpp
long LinuxParser::Jiffies() {
  long Jiffies = 0;
  vector<string> CpuUtilization = LinuxParser::CpuUtilization();
  for (int i = 0; i < 8; i++) {
    Jiffies += stol(CpuUtilization[i]);
  }
  return Jiffies;
}
// REVIEW: Read and return the total number of jiffies for the system
// return the sum of active and idle jiffies from IdleJiffies() and
// ActiveJiffies()
Read and return the total number of jiffies for the system
return the sum of active and idle jiffies from IdleJiffies() and
ActiveJiffies()
Read and return the total number of jiffies for the system return the sum of active and idle jiffies from IdleJiffies () and ActiveJiffies ()
long LinuxParser::Jiffies() {
  long Jiffies = 0;
  vector<string> CpuUtilization = LinuxParser::CpuUtilization();
  for (int i = 0; i < 8; i++) {
    Jiffies += stol(CpuUtilization[i]);
  }
  return Jiffies;
}
long LinuxParser :: Jiffies ( ) { long Jiffies = 0 ; vector < string > CpuUtilization = LinuxParser :: CpuUtilization ( ) ; for ( int i = 0 ; i < 8 ; i ++ ) { Jiffies += stol ( CpuUtilization [ i ] ) ; } return Jiffies ; }
REVIEW: Read and return the total number of jiffies for the system
return the sum of active and idle jiffies from IdleJiffies() and
ActiveJiffies()
REVIEW : Read and return the total number of jiffies for the system return the sum of active and idle jiffies from IdleJiffies () and ActiveJiffies ()