X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=72201971a073d769e1e9388a6796ac5e4934a028;hp=0e1690440dc1e498febec0d769519af4406a37c9;hb=fc519ca74a110a0ceea3c710c88da096fa850c65;hpb=fecefbb99cb0147f37d6895765a315f34c935786 diff --git a/src/main.cpp b/src/main.cpp index 0e169044..72201971 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -51,11 +51,10 @@ int main(int argc, char* argv[]) { // Startup initializations init_bitboards(); - Position::init_zobrist(); - Position::init_piece_square_tables(); + Position::init(); init_kpk_bitbase(); init_search(); - ThreadsMgr.init_threads(); + Threads.init(); #ifdef USE_CALLGRIND CALLGRIND_START_INSTRUMENTATION; @@ -80,8 +79,8 @@ int main(int argc, char* argv[]) { else cout << "Usage: stockfish bench [hash size = 128] [threads = 1] " << "[limit = 12] [fen positions file = default] " - << "[depth, time, perft or node limited = depth]" << endl; + << "[limited by depth, time, nodes or perft = depth]" << endl; - ThreadsMgr.exit_threads(); + Threads.exit(); return 0; }