actually counting milliseconds now
This commit is contained in:
parent
ce06097063
commit
96dcbc0a6c
@ -62,7 +62,7 @@ void perft(std::string pos) {
|
||||
int moves = move_generation_test(b, depth, depth);
|
||||
auto end = std::chrono::steady_clock::now();
|
||||
auto elapsed =
|
||||
std::chrono::duration_cast<std::chrono::microseconds>(end - start)
|
||||
std::chrono::duration_cast<std::chrono::milliseconds>(end - start)
|
||||
.count();
|
||||
|
||||
std::cout << "Results: " << moves << " ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user