Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
authorroland <roland>
Tue, 19 Mar 1996 18:19:31 +0000 (18:19 +0000)
committerroland <roland>
Tue, 19 Mar 1996 18:19:31 +0000 (18:19 +0000)
* sysdeps/posix/clock.c: Don't multiply the return value by
CLOCKS_PER_SEC or CLK_TCK.

sysdeps/posix/clock.c

index c34593b..9eadc78 100644 (file)
@@ -29,5 +29,5 @@ DEFUN_VOID(clock)
   if (__times(&buf) < 0)
     return (clock_t) -1;
 
-  return ((buf.tms_utime + buf.tms_stime) * CLK_TCK * CLOCKS_PER_SEC);
+  return buf.tms_utime + buf.tms_stime;
 }