A Discrete-Event Network Simulator
API
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. More...
 
#define NS_BUILD_OPTIMIZED(code)   NS_BUILD_PROFILE_OP (code)
 Execute a code snippet in optimized builds. More...
 
#define NS_BUILD_PROFILE_NOOP(code)
 Build profile no-op macro. More...
 
#define NS_BUILD_PROFILE_OP(code)
 Build profile macro to execute a code snippet. More...
 
#define NS_BUILD_RELEASE(code)   NS_BUILD_PROFILE_OP (code)
 Execute a code snippet in release builds. More...
 

Detailed Description

NS_BUILD_DEBUG, NS_BUILD_RELEASE, and NS_BUILD_OPTIMIZED macro definitions.

Definition in file build-profile.h.