A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
build-profile.h File Reference

NS_BUILD_DEBUG, NS_BUILD_RELEASE, and NS_BUILD_OPTIMIZED macro definitions. More...

Go to the source code of this file.

Macros

#define NS_BUILD_DEBUG(code)   NS_BUILD_PROFILE_OP(code)
 Execute a code snippet in debug builds.
 
#define NS_BUILD_OPTIMIZED(code)   NS_BUILD_PROFILE_OP(code)
 Execute a code snippet in optimized builds.
 
#define NS_BUILD_PROFILE_NOOP(code)
 Build profile no-op macro.
 
#define NS_BUILD_PROFILE_OP(code)
 Build profile macro to execute a code snippet.
 
#define NS_BUILD_RELEASE(code)   NS_BUILD_PROFILE_OP(code)
 Execute a code snippet in release builds.
 

Detailed Description

NS_BUILD_DEBUG, NS_BUILD_RELEASE, and NS_BUILD_OPTIMIZED macro definitions.

Definition in file build-profile.h.