ovs-benchmark: Improve output format for "rate" command.
authorBen Pfaff <blp@nicira.com>
Thu, 5 Jan 2012 18:44:40 +0000 (10:44 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 6 Jan 2012 16:10:27 +0000 (08:10 -0800)
commit440c5152a47725cfe4b8ae9f6a93868fd7e1ad2e
treec23a263f9ead36eab80a956eebdc775cb0575032
parent777507385a993b3ca072c512dac30ba1e6354b42
ovs-benchmark: Improve output format for "rate" command.

Before, the "rate" command kept the status of the test continually updated
on the screen.  This form of output is nice to watch, but it isn't very
useful for reporting, because you only end up with a single number at the
end, and redirecting it to a file yields one long line with lots of
carriage returns.

This commit simplifies the output format by simply printing one line per
second.

Signed-off-by: Ben Pfaff <blp@nicira.com>
utilities/ovs-benchmark.c