[dpdk-dev] [PATCH] examples: add flush after stats printing

2020-04-28 Thread Andrew Rybchenko
From: Georgiy Levashov When printf()'s stdout is line-buffered for terminal, it is fully buffered for pipes. So, stdout listener can only get the output when it is flushed (on program termination, when buffer is filled or manual flush). stdout buffer might fill slowly since every stats report co

Re: [dpdk-dev] [PATCH] examples: add flush after stats printing

2020-06-24 Thread Thomas Monjalon
28/04/2020 15:27, Andrew Rybchenko: > From: Georgiy Levashov > > When printf()'s stdout is line-buffered for terminal, it is fully > buffered for pipes. So, stdout listener can only get the output > when it is flushed (on program termination, when buffer is filled or > manual flush). > > stdout