]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Per-thread TB hit counters
[stockfish] / src / thread.h
index 195c3b3b919e2d07afaeee3fd11be02012003550..408aaef751b4c784f0e8a6425266751d13512a43 100644 (file)
@@ -62,6 +62,7 @@ public:
   Endgames endgames;
   size_t idx, PVIdx;
   int maxPly, callsCnt;
+  uint64_t tbHits;
 
   Position rootPos;
   Search::RootMoves rootMoves;
@@ -98,7 +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();
-  int64_t nodes_searched();
+  uint64_t nodes_searched();
+  uint64_t tb_hits();
 
 private:
   StateListPtr setupStates;