X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftimeman.h;h=bf489b7f9fbc662771ceceeabad53105f28050ff;hp=1c28f7dbe674342af2498d87cd9d223fd909c44d;hb=93059830181b7167525ef4adad7d4ca3115b0701;hpb=5fc98745c3b72f99337ec1bb3afff22ecd242467 diff --git a/src/timeman.h b/src/timeman.h index 1c28f7db..bf489b7f 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 SearchLimits& limits, int currentPly); + void pv_instability(int curChanges, int prevChanges); int available_time() const { return optimumSearchTime + unstablePVExtraTime; } int maximum_time() const { return maximumSearchTime; }