3 #define _INCLUDE_POSIX_SOURCE /* for HP-UX */
4 #define _INCLUDE_XOPEN_SOURCE /* for HP-UX */
22 dtime_(tarray
) float *tarray
;
28 #ifndef CLOCKS_PER_SECOND
29 #define CLOCKS_PER_SECOND Hz
34 tarray
[0] = (t
- t0
) / CLOCKS_PER_SECOND
;
42 tarray
[0] = (t
.tms_utime
- t0
.tms_utime
) / Hz
;
43 tarray
[1] = (t
.tms_stime
- t0
.tms_stime
) / Hz
;
45 return tarray
[0] + tarray
[1];