]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/cpu-timer.cc
Changes.tely updated - 2.19.x up to June 2014
[lilypond.git] / flower / cpu-timer.cc
index a72d5fe7ba797082ce9d78b1147004f902be526a..962cf7825462f78f71fe12942254cefc5806e04a 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -45,5 +45,5 @@ Real
 Cpu_timer::read ()
 {
   clock_t stop = clock ();
-  return (stop - start_clock_) / Real (CLOCKS_PER_SEC);
+  return Real (stop - start_clock_) / Real (CLOCKS_PER_SEC);
 }