Longer might be less inaccurate, but without flushing the last data you
really don't get best accuracy, you just reduce the error. Clearly doing
fdatasync() is best, since other i/o caused by sync() can skew the results.
--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
-