(TICKS_TO_MSEC, CLOCKS_TO_MSEC): Do not cast to
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 20 Oct 2002 05:34:55 +0000 (05:34 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 20 Oct 2002 05:34:55 +0000 (05:34 +0000)
commit9e2c5ef112d118b7714d91b60f2b13cb1a51a7cf
treead63f273667c4cf0748af817e0087dfd01ddb8a5
parent55b929cab2b5e53480807a0c0c8614d7381ae7c6
(TICKS_TO_MSEC, CLOCKS_TO_MSEC): Do not cast to
float, as this generates a warning on Solaris 8 + GCC 3.2 with
--enable-gcc-warnings.  Instead, divide into 1.0 rather than 1;
this generates a more-accurate value anyway.
(timervar_accumulate): Rename local variables to avoid confusion
with similarly-named global 'start_time'.
lib/timevar.c