+ assert(pos.is_ok());
+
+ return think(pos, infinite, ponder, time, inc, movesToGo,
+ depth, nodes, moveTime, searchMoves);
+ }
+
+ void perft(Position& pos, UCIInputParser& uip) {
+
+ string token;
+ int depth, tm, n;
+
+ if (!(uip >> depth))
+ return;
+
+ tm = get_system_time();
+
+ n = perft(pos, depth * ONE_PLY);