[ovs-git] Open vSwitch: ovs-benchmark: improve 'rate' command piped output support. (master)

dev at openvswitch.org dev at openvswitch.org
Thu May 2 22:48:21 UTC 2013

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  d5155945e03ffef6ff4de05d1ec5dfd0951e0860 (commit)
      from  3cbb5dc7e89df2b40bb6f715873cf2b6b25a7054 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d5155945e03ffef6ff4de05d1ec5dfd0951e0860
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d5155945e03ffef6ff4de05d1ec5dfd0951e0860
Author: Andy Zhou <azhou at nicira.com>
ovs-benchmark: improve 'rate' command piped output support.
Add fflush() to the 'rate' command of 'ovs-benchmark'.  On a tty console
the output is line-buffered. However, piped output by default has a
deeper (usually 4KB) buffer, the output won't appear to the other end of
the pipe until this buffer is full.

This patch makes the piped output of the 'rate' command's consistent
with tty console output.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 utilities/ovs-benchmark.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Open vSwitch

More information about the git mailing list