X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=ea872f88aa57fdb126a8ae2121213865f14a1751;hp=281d8595a7cca6dd227fe6c0f83b1cb7610beb04;hb=78eecbf6d704cf178fb0310f7e1c180d2d2f3d4d;hpb=20d88dbf9803d93f89b8831f59f95b4d6c9f3aa1 diff --git a/src/misc.cpp b/src/misc.cpp index 281d8595..ea872f88 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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 # include # include "dos.h" + static int gettimeofday(struct timeval* tp, struct timezone*) { SYSTEMTIME systime; @@ -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;