Blender  V2.93
Macros | Functions
util_debug.cpp File Reference
#include "util/util_debug.h"
#include <stdlib.h>
#include "bvh/bvh_params.h"
#include "util/util_logging.h"
#include "util/util_string.h"

Go to the source code of this file.

Macros

#define STRINGIFY(x)   #x
 
#define CHECK_CPU_FLAGS(flag, env)
 

Functions

std::ostream & operator<< (std::ostream &os, DebugFlagsConstRef debug_flags)
 

Macro Definition Documentation

◆ CHECK_CPU_FLAGS

#define CHECK_CPU_FLAGS (   flag,
  env 
)
Value:
do { \
flag = (getenv(env) == NULL); \
if (!flag) { \
VLOG(1) << "Disabling " << STRINGIFY(flag) << " instruction set."; \
} \
} while (0)
#define STRINGIFY(x)

◆ STRINGIFY

#define STRINGIFY (   x)    #x

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
DebugFlagsConstRef  debug_flags 
)