X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Fcpu-timer.cc;h=962cf7825462f78f71fe12942254cefc5806e04a;hb=648601fb61eedbc9f1e031a41fc7523ba94aec7a;hp=aab3d81659d700bce648cd76e51dbbf32c023b30;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/flower/cpu-timer.cc b/flower/cpu-timer.cc index aab3d81659..962cf78254 100644 --- a/flower/cpu-timer.cc +++ b/flower/cpu-timer.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2009 Han-Wen Nienhuys + Copyright (C) 1997--2014 Han-Wen Nienhuys 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); }