Only log the period mean if we have samples
authorJens Axboe <axboe@kernel.dk>
Thu, 1 Dec 2011 14:17:24 +0000 (15:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Dec 2011 14:17:24 +0000 (15:17 +0100)
commit7fb28d3661a5833d8be24a014a04ee4548ec1c16
tree53ccfc9c4cf889468ae9e4e25726ffcbe95e6b9b
parentb8bc8cba9512c6dce4891fda86de675053605ca2
Only log the period mean if we have samples

We can't use the mean value to determine that, it could in theory
be 0.0 and still have valid samples.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c