1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Remove MSVC debug window hack in bench

Interference with profile-build under mingw

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2011-07-02 11:52:22 +01:00
parent d15217b953
commit 7ac6e3b850

View file

@ -142,12 +142,5 @@ void benchmark(int argc, char* argv[]) {
cerr << "\n===============================" cerr << "\n==============================="
<< "\nTotal time (ms) : " << time << "\nTotal time (ms) : " << time
<< "\nNodes searched : " << totalNodes << "\nNodes searched : " << totalNodes
<< "\nNodes/second : " << (int)(totalNodes / (time / 1000.0)) << endl << endl; << "\nNodes/second : " << (int)(totalNodes / (time / 1000.0)) << endl;
// MS Visual C++ debug window always unconditionally closes when program
// exits, this is bad because we want to read results before.
#if (defined(WINDOWS) || defined(WIN32) || defined(WIN64))
cerr << "Press any key to exit" << endl;
cin >> time;
#endif
} }