X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftimeman.h;h=09bb4af7d185759ae1047e44d346048f07cb27a0;hp=03dc991dd842828c64219e7b26e8ae1190f3b2a9;hb=c295599e4ad481f677b14cb0be14174b61ebff81;hpb=dda53e831d369c5d02ccdebed1a2dcc781fc11c0 diff --git a/src/timeman.h b/src/timeman.h index 03dc991d..09bb4af7 100644 --- a/src/timeman.h +++ b/src/timeman.h @@ -28,8 +28,13 @@ class TimeManager { public: - void update(int myTime, int myInc, int movesToGo, int currentPly, - int* optimumSearchTime, int* maximumSearchTime); + void update(int myTime, int myInc, int movesToGo, int currentPly); + void best_move_changes(int curIter, int prevIter); + int available_time() { return optimumSearchTime + extraSearchTime; } + + int optimumSearchTime; + int maximumSearchTime; + int extraSearchTime; }; #endif // !defined(TIMEMAN_H_INCLUDED)