X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftimeman.h;h=703dc234b7cf630fdbe3bce62aae8a066377bd6b;hb=a44c5cf4f77b05a03;hp=1c28f7dbe674342af2498d87cd9d223fd909c44d;hpb=5fc98745c3b72f99337ec1bb3afff22ecd242467;p=stockfish diff --git a/src/timeman.h b/src/timeman.h index 1c28f7db..703dc234 100644 --- a/src/timeman.h +++ b/src/timeman.h @@ -17,19 +17,16 @@ along with this program. If not, see . */ - #if !defined(TIMEMAN_H_INCLUDED) #define TIMEMAN_H_INCLUDED -//// -//// Prototypes -//// +struct SearchLimits; class TimeManager { public: - void init(int myTime, int myInc, int movesToGo, int currentPly); - void pv_unstability(int curChanges, int prevChanges); + void init(const Search::LimitsType& limits, int currentPly); + void pv_instability(int curChanges, int prevChanges); int available_time() const { return optimumSearchTime + unstablePVExtraTime; } int maximum_time() const { return maximumSearchTime; }