]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/cpu-timer.cc
Run `make grand-replace'.
[lilypond.git] / flower / cpu-timer.cc
index 6789b5b0af8bef653f1019af2d067f6caf7d6aee..0715589303785dc2c3233972ad630b0ae3537f93 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the Flower Library
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "cpu-timer.hh"
@@ -12,9 +12,9 @@
 // nextstep
 #ifndef CLOCKS_PER_SEC
 #ifdef CLK_TCK
-#define CLOCKS_PER_SEC  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);
 }