libstdc++
compiletime_settings.h File Reference

Go to the source code of this file.

Macros

#define _GLIBCXX_CALL(__n)
 
#define _GLIBCXX_PARALLEL_ASSERTIONS
 
#define _GLIBCXX_RANDOM_SHUFFLE_CONSIDER_L1
 
#define _GLIBCXX_RANDOM_SHUFFLE_CONSIDER_TLB
 
#define _GLIBCXX_SCALE_DOWN_FPU
 
#define _GLIBCXX_VERBOSE_LEVEL
 

Detailed Description

Defines on options concerning debugging and performance, at compile-time. This file is a GNU parallel extension to the Standard C++ Library.

Definition in file compiletime_settings.h.

Macro Definition Documentation

◆ _GLIBCXX_CALL

#define _GLIBCXX_CALL (   __n)

Macro to produce log message when entering a function.

Parameters
__nInput size.
See also
_GLIBCXX_VERBOSE_LEVEL

Definition at line 44 of file compiletime_settings.h.

◆ _GLIBCXX_PARALLEL_ASSERTIONS

#define _GLIBCXX_PARALLEL_ASSERTIONS

Switch on many _GLIBCXX_PARALLEL_ASSERTions in parallel code. Should be switched on only locally.

Definition at line 61 of file compiletime_settings.h.

◆ _GLIBCXX_RANDOM_SHUFFLE_CONSIDER_L1

#define _GLIBCXX_RANDOM_SHUFFLE_CONSIDER_L1

Switch on many _GLIBCXX_PARALLEL_ASSERTions in parallel code. Consider the size of the L1 cache for gnu_parallel::__parallel_random_shuffle().

Definition at line 68 of file compiletime_settings.h.

◆ _GLIBCXX_RANDOM_SHUFFLE_CONSIDER_TLB

#define _GLIBCXX_RANDOM_SHUFFLE_CONSIDER_TLB

Switch on many _GLIBCXX_PARALLEL_ASSERTions in parallel code. Consider the size of the TLB for gnu_parallel::__parallel_random_shuffle().

Definition at line 74 of file compiletime_settings.h.

◆ _GLIBCXX_SCALE_DOWN_FPU

#define _GLIBCXX_SCALE_DOWN_FPU

Use floating-point scaling instead of modulo for mapping random numbers to a range. This can be faster on certain CPUs.

Definition at line 55 of file compiletime_settings.h.

◆ _GLIBCXX_VERBOSE_LEVEL

#define _GLIBCXX_VERBOSE_LEVEL

Determine verbosity level of the parallel mode. Level 1 prints a message each time a parallel-mode function is entered.

Definition at line 37 of file compiletime_settings.h.