9 #ifndef TurtleBrains_PerformanceTimer_hpp
10 #define TurtleBrains_PerformanceTimer_hpp
12 #include <turtle_brains/core/tb_configuration.hpp>
13 #if defined(tb_with_development_kit)
15 #include <turtle_brains/core/tb_string.hpp>
24 void EndPerformanceTracking();
46 std::chrono::steady_clock::time_point mStartTime;
54 #define tb_make_unique_name_helper_0(name, line) name##line
55 #define tb_make_unique_name_helper(name, line) tb_make_unique_name_helper_0(name, line)
56 #define tb_make_unique_name(name) tb_make_unique_name_helper(name, __LINE__)
58 #define tb_scoped_timer(name) TurtleBrains::Development::ScopedTimer tb_make_unique_name(tbPerfTimer)(name);
59 #define tb_function_timer() TurtleBrains::Development::ScopedTimer tb_make_unique_name(tbPerfTimer)(__FUNCTION__);
63 #define tb_scoped_timer(name) ;
64 #define tb_function_timer() ;
Contains some functionality to aid in easier / faster game development or other profiling tools...
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:21
std::string tbString
Definition: tb_string.hpp:335