9 #define _INCLUDE_POSIX_SOURCE /* for HP-UX */
10 #define _INCLUDE_XOPEN_SOURCE /* for HP-UX */
11 #include "sys/types.h"
12 #include "sys/times.h"
27 etime_ (float *tarray)
30 #ifndef CLOCKS_PER_SECOND
31 #define CLOCKS_PER_SECOND Hz
35 return tarray[0] = t / CLOCKS_PER_SECOND;
40 return (tarray[0] = (double) t.tms_utime / Hz)
41 + (tarray[1] = (double) t.tms_stime / Hz);