mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53: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:
parent
d15217b953
commit
7ac6e3b850
1 changed files with 1 additions and 8 deletions
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue