No real changes, just flush output in the graphics benchmark.
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
This commit is contained in:
@@ -109,6 +109,7 @@ private:
|
||||
dc.SetPen(wxPen(*wxWHITE, opts.penWidth));
|
||||
|
||||
wxPrintf("Benchmarking %s: ", msg);
|
||||
fflush(stdout);
|
||||
|
||||
wxStopWatch sw;
|
||||
int x = 0,
|
||||
@@ -144,6 +145,7 @@ private:
|
||||
dc.SetBrush( *wxRED_BRUSH );
|
||||
|
||||
wxPrintf("Benchmarking %s: ", msg);
|
||||
fflush(stdout);
|
||||
|
||||
wxStopWatch sw;
|
||||
for ( int n = 0; n < opts.numLines; n++ )
|
||||
@@ -171,6 +173,7 @@ private:
|
||||
dc.SetPen(wxPen(*wxWHITE, opts.penWidth));
|
||||
|
||||
wxPrintf("Benchmarking %s: ", msg);
|
||||
fflush(stdout);
|
||||
|
||||
wxStopWatch sw;
|
||||
for ( int n = 0; n < opts.numLines; n++ )
|
||||
|
Reference in New Issue
Block a user