mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Correcty resey TB hit counter
Restore original behaviour to reset the counter before a new move search. Also fixed some warnings and added const qualifier to a couple of functions, as suggested by m_stembera. Thanks to Werner Bergmans for reporting the regression. No functional change.
This commit is contained in:
@@ -99,8 +99,8 @@ struct ThreadPool : public std::vector<Thread*> {
|
||||
MainThread* main() { return static_cast<MainThread*>(at(0)); }
|
||||
void start_thinking(Position&, StateListPtr&, const Search::LimitsType&);
|
||||
void read_uci_options();
|
||||
uint64_t nodes_searched();
|
||||
uint64_t tb_hits();
|
||||
uint64_t nodes_searched() const;
|
||||
uint64_t tb_hits() const;
|
||||
|
||||
private:
|
||||
StateListPtr setupStates;
|
||||
|
||||
Reference in New Issue
Block a user