+ void perft(UCIInputParser& uip) {
+
+ string token;
+ int depth, tm, n;
+ Position pos(RootPosition);
+
+ if (!(uip >> depth))
+ return;
+
+ tm = get_system_time();
+
+ n = perft(pos, depth * OnePly);
+
+ tm = get_system_time() - tm;
+ std::cout << "\nNodes " << n
+ << "\nTime (ms) " << tm
+ << "\nNodes/second " << (int)(n/(tm/1000.0)) << std::endl;
+ }