2019-10-20 01:17:44 +00:00
|
|
|
/*
|
|
|
|
* 4coder_profile_static_disable.cpp - Statically removes all profile posting code
|
|
|
|
* that follows until the next 4coder_profile_static_enable.cpp
|
|
|
|
*/
|
|
|
|
|
|
|
|
// TOP
|
|
|
|
|
2019-10-26 20:48:50 +00:00
|
|
|
#if defined(ProfileBlock)
|
2019-10-20 01:17:44 +00:00
|
|
|
#undef ProfileBlock
|
|
|
|
#undef ProfileScope
|
2019-10-25 06:17:54 +00:00
|
|
|
#undef ProfileBlockNamed
|
|
|
|
#undef ProfileScopeNamed
|
2019-10-26 20:48:50 +00:00
|
|
|
|
|
|
|
#undef ProfileTLBlock
|
|
|
|
#undef ProfileTLScope
|
|
|
|
#undef ProfileTLBlockNamed
|
|
|
|
#undef ProfileTLScopeNamed
|
|
|
|
|
|
|
|
#undef ProfileCloseNow
|
2019-10-20 01:17:44 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#define ProfileBlock(T,N)
|
|
|
|
#define ProfileScope(T,N)
|
2019-10-25 06:17:54 +00:00
|
|
|
#define ProfileBlockNamed(T,N,M)
|
|
|
|
#define ProfileScopeNamed(T,N,M)
|
2019-10-20 01:17:44 +00:00
|
|
|
|
2019-10-26 20:48:50 +00:00
|
|
|
#define ProfileTLBlock(T,L,N)
|
|
|
|
#define ProfileTLScope(T,L,N)
|
|
|
|
#define ProfileTLBlockNamed(T,L,N,M)
|
|
|
|
#define ProfileTLScopeNamed(T,L,N,M)
|
|
|
|
|
|
|
|
#define ProfileCloseNow(O)
|
|
|
|
|
2019-10-20 01:17:44 +00:00
|
|
|
// BOTTOM
|
|
|
|
|