]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/cpu-timer.cc
2003 -> 2004
[lilypond.git] / flower / cpu-timer.cc
index f0b49b5c72c47a86f611c1aec35bd0a9caba9875..0ed394409d59c839a23bc7d07a3e4f2a1f3100a9 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the Flower Library
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "cpu-timer.hh"
@@ -13,7 +13,7 @@
 #ifdef CLK_TCK
 #define CLOCKS_PER_SEC  CLK_TCK
 #elif defined _SC_CLK_TCK
-#define CLOCKS_PER_SEC  sysconf(_SC_CLK_TCK)
+#define CLOCKS_PER_SEC  sysconf (_SC_CLK_TCK)
 #else
 #error cannot determine CLOCKS_PER_SEC
 #endif
@@ -34,5 +34,5 @@ Real
 Cpu_timer::read ()
 {
   clock_t stop = clock ();
-  return (stop-start_clock_)/Real(CLOCKS_PER_SEC);
+  return (stop-start_clock_)/Real (CLOCKS_PER_SEC);
 }