src/linux_parser.cpp
long LinuxParser::IdleJiffies() {
  long idle ;
  vector<string> data = CpuUtilization();
  idle = stol(data[kIdle_]) + stol(data[kIOwait_]);
  return idle;
}
// Done: Read and return the number of idle jiffies for the system
Read and return the number of idle jiffies for the system
Read and return the number of idle jiffies for the system
long LinuxParser::IdleJiffies() {
  long idle ;
  vector<string> data = CpuUtilization();
  idle = stol(data[kIdle_]) + stol(data[kIOwait_]);
  return idle;
}
long LinuxParser :: IdleJiffies ( ) { long idle ; vector < string > data = CpuUtilization ( ) ; idle = stol ( data [ kIdle_ ] ) + stol ( data [ kIOwait_ ] ) ; return idle ; }
Done: Read and return the number of idle jiffies for the system
Done : Read and return the number of idle jiffies for the system