Files
percona-toolkit/bin
Brian Fraser 7c4c186978 Change how Diskstats waits for its first handful of samples.
This fixes two bugs -- One a rounding error, one a desyncronization
between the main program and the data gathering daemon.

Additionally, it changes how the daemon prints the very first
sample. Before it would unconditionally wait until the time was
%$sample-time, which meant that in a worst case scenario,
a user could be left waiting for a while before seeing a line
of output.
This commit changes that first wait to only sleep if less
than 20% away from %$sample-time.
2012-02-01 12:14:09 -03:00
..
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00
2011-11-14 09:23:47 -07:00
2011-09-01 10:00:38 -06:00
2011-09-01 10:00:38 -06:00