]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Use average complexity for time management
[stockfish] / src / thread.h
index a6b0b5a0bc95577924856325ad70330d369c3661..c3d38f3cf310c1c1c6255304093aca122f18565b 100644 (file)
@@ -61,6 +61,7 @@ public:
   Material::Table materialTable;
   size_t pvIdx, pvLast;
   RunningAverage doubleExtensionAverage[COLOR_NB];
+  RunningAverage complexityAverage;
   uint64_t nodesLastExplosive;
   uint64_t nodesLastNormal;
   std::atomic<uint64_t> nodes, tbHits, bestMoveChanges;