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

Diff for /src/usr.bin/systat/vmstat.c between version 1.89 and 1.90

version 1.89, 2018/11/17 23:10:08 version 1.90, 2019/01/20 03:53:03
Line 97 
Line 97 
 int vm_keyboard_callback(int);  int vm_keyboard_callback(int);
   
 static  time_t t;  static  time_t t;
 static  double etime;  
 static  float hertz;  static  float hertz;
 static  int nintr;  static  int nintr;
 static  long *intrloc;  static  long *intrloc;
Line 336 
Line 335 
         u_int64_t inttotal, intcnt;          u_int64_t inttotal, intcnt;
         int i, l, c;          int i, l, c;
         static int failcnt = 0, first_run = 0;          static int failcnt = 0, first_run = 0;
           double etime;
   
         if (state == TIME) {          if (state == TIME) {
                 if (!first_run) {                  if (!first_run) {
Line 676 
Line 676 
 static void  static void
 dinfo(int dn, int c)  dinfo(int dn, int c)
 {  {
         double words, atime;          double words, atime, etime;
   
           etime = naptime;
   
         c += DISKCOL;          c += DISKCOL;
   

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90