When I change line 155 in benchmark.cpp
Code: Select all
cerr << "\n==========================="
<< "\nTotal time (ms) : " << elapsed
<< "\nNodes searched : " << nodes
<< "\nNodes/second : " << 1000 * nodes / elapsed << endl;
Code: Select all
cout << "\n==========================="
<< "\nTotal time (ms) : " << elapsed
<< "\nNodes searched : " << nodes
<< "\nNodes/second : " << 1000 * nodes / elapsed << endl;
./stockfish bench > bench.txt && tail -1 bench.txt >> speed.csv
to do the job. When I run bench three times in a row my file looks as follows:
Code: Select all
Nodes/second : 1074200
Nodes/second : 1078206
Nodes/second : 1065217