]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
Use 64 bits for debug counters
[stockfish] / src / misc.cpp
index 1e15797034d72f3e3a8997f23e73474829310fde..ea872f88aa57fdb126a8ae2121213865f14a1751 100644 (file)
@@ -1,7 +1,7 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
   Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
-  Copyright (C) 2008 Marco Costalba
+  Copyright (C) 2008-2009 Marco Costalba
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -38,6 +38,7 @@
 #  include <windows.h>
 #  include <time.h>
 #  include "dos.h"
+
 static int gettimeofday(struct timeval* tp, struct timezone*)
 {
     SYSTEMTIME systime;
@@ -71,7 +72,7 @@ using namespace std;
 /// Version number. If this is left empty, the current date (in the format
 /// YYMMDD) is used as a version number.
 
-static const string EngineVersion = "1.3";
+static const string EngineVersion = "";
 static const string AppName = "Stockfish";
 static const string AppTag  = "";
 
@@ -80,8 +81,8 @@ static const string AppTag  = "";
 //// Variables
 ////
 
-long dbg_cnt0 = 0;
-long dbg_cnt1 = 0;
+uint64_t dbg_cnt0 = 0;
+uint64_t dbg_cnt1 = 0;
 
 bool dbg_show_mean = false;
 bool dbg_show_hit_rate = false;