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"
28 etime_(tarray
) float *tarray
;
34 #ifndef CLOCKS_PER_SECOND
35 #define CLOCKS_PER_SECOND Hz
39 return tarray
[0] = t
/ CLOCKS_PER_SECOND
;
44 return (tarray
[0] = (double)t
.tms_utime
/Hz
)
45 + (tarray
[1] = (double)t
.tms_stime
/Hz
);