1 #pragma once
2 
3 // Additional Include Directories and Additional Library Directories must be configured to Brofiler
4 //#define MT_ENABLE_BROFILER_SUPPORT (1)
5 
6 #if defined(MT_INSTRUMENTED_BUILD) && defined(MT_ENABLE_BROFILER_SUPPORT)
7 #include <Brofiler.h>
8 
9 #define BROFILER_NEXT_FRAME() Brofiler::NextFrame();   \
10                               BROFILER_EVENT("Frame") \
11 
12 
13 #else
14 #define PROFILE
15 #define BROFILER_INLINE_EVENT(NAME, CODE) { CODE; }
16 #define BROFILER_CATEGORY(NAME, COLOR)
17 #define BROFILER_FRAME(NAME)
18 #define BROFILER_THREAD(FRAME_NAME)
19 #define BROFILER_NEXT_FRAME()
20 #endif
21 
22 
23 namespace MT
24 {
25 	class IProfilerEventListener;
26 }
27 
28 
29 MT::IProfilerEventListener* GetProfiler();
30 
31 
32 
33 
34