From 96dcbc0a6c68e3f559ba92f8d42d598c3bf364e9 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 3 Feb 2025 13:41:45 +0100 Subject: [PATCH] actually counting milliseconds now --- cpp/src/stickfosh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/stickfosh.cpp b/cpp/src/stickfosh.cpp index 615d41d..7798cef 100644 --- a/cpp/src/stickfosh.cpp +++ b/cpp/src/stickfosh.cpp @@ -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(end - start) + std::chrono::duration_cast(end - start) .count(); std::cout << "Results: " << moves << " ";