X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Fcpu-timer.cc;h=931dc6df0a8407c45989fc7ef63268472c0da0ee;hb=90e4d7057f3857da049dfda3d130017d4719bd6b;hp=5b7b9800fb460854ebd883d2ce3b0d29d5b4f38c;hpb=a6bd229f7fe1dc4a03478e14ccc0c0c66b225061;p=lilypond.git diff --git a/flower/cpu-timer.cc b/flower/cpu-timer.cc index 5b7b9800fb..931dc6df0a 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--2010 Han-Wen Nienhuys + Copyright (C) 1997--2015 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); }