Show the output messages sooner instead of showing them all only when the test
ends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73469
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
dc.SetPen(wxPen(*wxWHITE, opts.penWidth));
wxPrintf("Benchmarking %s: ", msg);
+ fflush(stdout);
wxStopWatch sw;
int x = 0,
dc.SetBrush( *wxRED_BRUSH );
wxPrintf("Benchmarking %s: ", msg);
+ fflush(stdout);
wxStopWatch sw;
for ( int n = 0; n < opts.numLines; n++ )
dc.SetPen(wxPen(*wxWHITE, opts.penWidth));
wxPrintf("Benchmarking %s: ", msg);
+ fflush(stdout);
wxStopWatch sw;
for ( int n = 0; n < opts.numLines; n++ )