]> git.sesse.net Git - stockfish/blobdiff - src/misc.h
Switch to developer version numbering
[stockfish] / src / misc.h
index d6290450ad5d17f5e4ba294d489c0c642365eb73..506422b2a5b80c92eeb788b724cccb169084a60d 100644 (file)
@@ -6,12 +6,12 @@
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
-  
+
   Glaurung is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
-  
+
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
@@ -36,7 +36,7 @@
 /// Version number.  If this is left empty, the current date (in the format
 /// YYMMDD) is used as a version number.
 
-const std::string EngineVersion = "2.1";
+const std::string EngineVersion = "";
 
 
 ////
@@ -56,5 +56,13 @@ extern int get_system_time();
 extern int cpu_count();
 extern int Bioskey();
 
+////
+//// Debug
+////
+extern long dbg_cnt0;
+extern long dbg_cnt1;
+extern void dbg_print_hit_rate();
+
+#define dbg_hit_on(x) { dbg_cnt0++; if (x) dbg_cnt1++; }
 
 #endif // !defined(MISC_H_INCLUDED)