summaryrefslogtreecommitdiff
path: root/src/profiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiler.h')
-rw-r--r--src/profiler.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/profiler.h b/src/profiler.h
index e5bb760c6..78d3b08e0 100644
--- a/src/profiler.h
+++ b/src/profiler.h
@@ -27,11 +27,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "jthread/jmutex.h"
#include "jthread/jmutexautolock.h"
#include "util/timetaker.h"
-#include "util/numeric.h" // paging()
-#include "debug.h" // assert()
+#include "util/numeric.h" // paging()
+#include "debug.h" // assert()
#define MAX_PROFILER_TEXT_ROWS 20
+// Global profiler
+class Profiler;
+extern Profiler *g_profiler;
+
/*
Time profiler
*/