View | Details | Raw Unified
Collapse All | Expand All

(-) gamess/source/zunix.c (-9 / +9 lines)
 Lines 244-252    Link Here 
double etime(float *a)
double etime(float *a)
   { double        elapsed;
   { double        elapsed;
     struct tms    buf;
     struct tms    buf;
     elapsed= (float) times(&buf)/ (float) CLK_TCK;
     elapsed= (float) times(&buf)/ (float) CLOCKS_PER_SEC;
     a[0]=(float)(buf.tms_utime + buf.tms_cutime)/CLK_TCK;
     a[0]=(float)(buf.tms_utime + buf.tms_cutime)/CLOCKS_PER_SEC;
     a[1]=(float)(buf.tms_stime + buf.tms_cstime)/CLK_TCK;
     a[1]=(float)(buf.tms_stime + buf.tms_cstime)/CLOCKS_PER_SEC;
     return(elapsed); }
     return(elapsed); }
/*
/*
 Lines 301-309    Link Here 
double etime(float *a)
double etime(float *a)
   { double        elapsed;
   { double        elapsed;
     struct tms    buf;
     struct tms    buf;
     elapsed= (float) times(&buf)/ (float) CLK_TCK;
     elapsed= (float) times(&buf)/ (float) CLOCKS_PER_SEC;
     a[0]=(float)(buf.tms_utime + buf.tms_cutime)/CLK_TCK;
     a[0]=(float)(buf.tms_utime + buf.tms_cutime)/CLOCKS_PER_SEC;
     a[1]=(float)(buf.tms_stime + buf.tms_cstime)/CLK_TCK;
     a[1]=(float)(buf.tms_stime + buf.tms_cstime)/CLOCKS_PER_SEC;
     return(elapsed); }
     return(elapsed); }
#endif
#endif
 Lines 343-351    Link Here 
double etime_(float *a)
double etime_(float *a)
   { double        elapsed;
   { double        elapsed;
     struct tms    buf;
     struct tms    buf;
     elapsed= (float) times(&buf)/CLK_TCK;
     elapsed= (float) times(&buf)/CLOCKS_PER_SEC;
     a[0]= (float) (buf.tms_utime + buf.tms_cutime)/CLK_TCK;
     a[0]= (float) (buf.tms_utime + buf.tms_cutime)/CLOCKS_PER_SEC;
     a[1]= (float) (buf.tms_stime + buf.tms_cstime)/CLK_TCK;
     a[1]= (float) (buf.tms_stime + buf.tms_cstime)/CLOCKS_PER_SEC;
     return(elapsed); }
     return(elapsed); }
/*
/*