aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/atftp/files/patch-stats.c
blob: 9a7a5c67c0a07c4473869c306d9801d78e2e134e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- stats.c.orig    2002-03-27 11:02:12.000000000 +0800
+++ stats.c 2010-10-05 09:56:08.000000000 +0800
@@ -157,8 +157,8 @@
 
      logger(LOG_INFO, "  Load measurements:");
      logger(LOG_INFO, "   User: %8.3fs  Sys:%8.3fs",
-            (double)(s_stats.tms.tms_utime) / CLK_TCK,
-            (double)(s_stats.tms.tms_stime) / CLK_TCK);
+            (double)(s_stats.tms.tms_utime) / CLOCKS_PER_SEC,
+            (double)(s_stats.tms.tms_stime) / CLOCKS_PER_SEC);
      logger(LOG_INFO, "   Total:%8.3fs  CPU:%8.3f%%", 
             (double)(tmp.tv_sec + tmp.tv_usec * 1e-6),
             (double)(s_stats.tms.tms_utime + s_stats.tms.tms_stime) /
s/emacs-devel?h=gstreamer&id=e8efdd21e5ff43846d793d8491abfecf222c6dc2'>- update to 1.4.1dinoex2010-03-281-2/+2 * - Mark BROKEN on HEAD: fails to build with new utmpxmiwi2010-03-201-0/+4 * - update to jpeg-8dinoex2010-02-051-2/+2 * Assign LATEST_LINK to apropriate directory names for ports:bsam2009-12-231-1/+1 * - update to jpeg7dinoex2009-07-181-1/+2 * - Udpate to 23.0.95 pretestpgollucci2009-06-236-13/+16 * Part 3:pgollucci2009-06-183-5/+4 * Part 2:pgollucci2009-06-173-0/+204 * Part 1:pgollucci2009-06-172-4/+6 * - Update to 23.0.92pav2009-04-032-6/+6 * Update to the second pretest of Emacs 23.X.bsam2009-03-073-5/+12 * - cvs rm empty patchfilepav2009-02-151-0/+0 * . add pkg-message;bsam2009-02-022-0/+21 * Emacs pretest 23.0.90 is now available:bsam2009-02-025-65/+26 * Add explicit dependency on gettext.stefan2009-01-081-1/+6 * . fix the build WITHOUT_GTK; [1]bsam2008-12-109-85/+109 * - Update to 2008.06.06.08.01.29 snapshot version.lippe2008-06-216-73/+126 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1 * - Update to 2008.03.08.07.56.12 cvs snapshotrafan2008-04-074-69/+286 * - Update editors/emacs-devel to 23.0.50.20080101 snapshot.anray2008-01-2711-214/+551 * - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-231-2/+0 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * - Update to 22.0.99clsung2007-04-293-9/+6