ArkScript
A small, fast, functional and scripting language for video games
Profiling.hpp
Go to the documentation of this file.
1 #ifndef INCLUDE_ARK_PROFILING_HPP
2 #define INCLUDE_ARK_PROFILING_HPP
3 
4 #ifdef ARK_PROFILER
5 # include <coz.h>
6 #else
7 // define the coz macro but don't add content to them
8 // so that we can "use" them but they won't take effect
9 # define COZ_PROGRESS_NAMED(name)
10 # define COZ_PROGRESS
11 # define COZ_BEGIN(name)
12 # define COZ_END(name)
13 #endif
14 
15 #endif