coal  3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
tracy.hh
Go to the documentation of this file.
1 /*
2  * This file has been automatically generated by the jrl-cmakemodules.
3  * Please see
4  * https://github.com/jrl-umi3218/jrl-cmakemodules/blob/master/tracy.hh.cmake for
5  * details.
6  */
7 
8 #ifndef COAL_TRACY_HPP
9 #define COAL_TRACY_HPP
10 
11 
12 
13 #ifdef COAL_TRACY_ENABLE
14 #if defined(__clang__) || defined(__GNUC__)
15 #define TracyFunction __PRETTY_FUNCTION__
16 #elif defined(_MSC_VER)
17 #define TracyFunction __FUNCSIG__
18 #endif
19 #include <tracy/Tracy.hpp>
20 #define COAL_TRACY_ZONE_SCOPED_N(name) ZoneScopedN(name)
21 #define COAL_TRACY_ZONE_SCOPED ZoneScoped
22 #define COAL_TRACY_ZONE_NAMED_N(varname, name, active) ZoneNamedN(varname, name, active)
23 #define COAL_TRACY_ZONE_NAMED(varname, active) ZoneNamed(varname, active)
24 #define COAL_TRACY_SET_THREAD_NAME(name) tracy::SetThreadName(name)
25 #else
26 #define COAL_TRACY_ZONE_SCOPED_N(x)
27 #define COAL_TRACY_ZONE_SCOPED
28 #define COAL_TRACY_ZONE_NAMED_N(x, y, z)
29 #define COAL_TRACY_ZONE_NAMED(x, y)
30 #define COAL_TRACY_SET_THREAD_NAME(x)
31 #endif
32 
33 #endif // COAL_TRACY_HPP