// Purpose: Main file of the benchmarking suite
// Author: Vadim Zeitlin
// Created: 2008-07-19
-// RCS-ID: $Id$
// Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
#include "wx/cmdline.h"
#include "wx/stopwatch.h"
+#if wxUSE_GUI
+ #include "wx/frame.h"
+#endif
+
#include "bench.h"
// ----------------------------------------------------------------------------
wxPrintf("%.2f avg (min=%ld, max=%ld)\n",
(float)timeTotal / times, timeMin, timeMax);
}
+
+ fflush(stdout);
}
return rc;