From: Marco Costalba Date: Sat, 2 Jul 2011 10:52:22 +0000 (+0100) Subject: Remove MSVC debug window hack in bench X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=7ac6e3b8506f54ddb8fb6560fbf238242627a141 Remove MSVC debug window hack in bench Interference with profile-build under mingw No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/benchmark.cpp b/src/benchmark.cpp index df497870..eef27c6a 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -142,12 +142,5 @@ void benchmark(int argc, char* argv[]) { cerr << "\n===============================" << "\nTotal time (ms) : " << time << "\nNodes searched : " << totalNodes - << "\nNodes/second : " << (int)(totalNodes / (time / 1000.0)) << endl << 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 + << "\nNodes/second : " << (int)(totalNodes / (time / 1000.0)) << endl; }