(svn r26195) -Codechange: move debug's ottd_rdtsc (CPU specific high precision timer) into cpu.h/cpp

This commit is contained in:
rubidium
2014-01-02 08:45:28 +00:00
parent 6b3c1aa036
commit 59ff2836d4
4 changed files with 26 additions and 8 deletions

View File

@@ -12,6 +12,8 @@
#ifndef DEBUG_H
#define DEBUG_H
#include "cpu.h"
/* Debugging messages policy:
* These should be the severities used for direct DEBUG() calls
* maximum debugging level should be 10 if really deep, deep
@@ -65,12 +67,6 @@ const char *GetDebugString();
/* Shorter form for passing filename and linenumber */
#define FILE_LINE __FILE__, __LINE__
/**
* Get the tick counter from the CPU (high precision timing).
* @return The count.
*/
uint64 ottd_rdtsc();
/* Used for profiling
*
* Usage: