]> git.sesse.net Git - stockfish/blobdiff - src/timeman.h
Introduce TimeManager class
[stockfish] / src / timeman.h
index d187475fba0de2392820c9719fe5cafadc093c8a..03dc991dd842828c64219e7b26e8ae1190f3b2a9 100644 (file)
 //// Prototypes
 ////
 
-void get_search_times(int myTime, int myInc, int movesToGo, int currentPly,
-                      int* maxSearchTime, int* absoluteMaxSearchTime);
+class TimeManager {
+public:
 
-#endif // !defined(SEARCH_H_INCLUDED)
+  void update(int myTime, int myInc, int movesToGo, int currentPly,
+              int* optimumSearchTime, int* maximumSearchTime);
+};
+
+#endif // !defined(TIMEMAN_H_INCLUDED)