[BACK]Return to cpu.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / systat

Diff for /src/usr.bin/systat/cpu.c between version 1.4 and 1.5

version 1.4, 2015/01/16 00:03:37 version 1.5, 2016/01/02 20:02:40
Line 246 
Line 246 
 void  void
 print_cpu(void)  print_cpu(void)
 {  {
         time_t          tm;  
         int             cur = 0, c, i;          int             cur = 0, c, i;
         int             end = dispstart + maxprint;          int             end = dispstart + maxprint;
         int64_t         *states;          int64_t         *states;
         double          value[CPUSTATES];          double          value[CPUSTATES];
         tm = time(NULL);  
   
         if (end > num_disp)          if (end > num_disp)
                 end = num_disp;                  end = num_disp;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5