encapsulated sw
This commit is contained in:
1 parent
91ec9282a0
commit
ff811784fb
2 files changed
+10
-9
No files matched your search
@@ -4,6 +4,7 @@
|
||||
#include <vector>
|
||||
#include "move.h"
|
||||
#include <algorithm>
|
||||
#include "stopwatch.h"
|
||||
|
||||
namespace SEARCH {
|
||||
|
||||
@@ -114,9 +115,12 @@ public:
|
||||
PVLine pvLine;
|
||||
History history;
|
||||
|
||||
Stopwatch sw;
|
||||
|
||||
SearchContext(){
|
||||
pvLine.Clear();
|
||||
history.Clear();
|
||||
sw.Restart();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user