|
|
||||||
|
cfl_definitions.h File Reference #include <iostream> #include <sstream> #include <inttypes.h> #include "configuration.h" Go to the source code of this file.
Detailed DescriptionCompiletime options. This file configures the runtime bahaviour of libFAUDES, in particular informative output on stderr and stdout; see also the Makefile. Definition in file cfl_definitions.h. Macro Definition Documentation◆ FAUDES_IDX_MAX
Definition at line 44 of file cfl_definitions.h. ◆ FAUDES_INT_MAX
Definition at line 49 of file cfl_definitions.h. ◆ FAUDES_INT_MIN
Definition at line 48 of file cfl_definitions.h. ◆ FAUDES_NODOC
Doxygen: exclude this from doxygen Definition at line 208 of file cfl_definitions.h. ◆ FAUDES_OBJCOUNT_DEC
Definition at line 184 of file cfl_definitions.h. ◆ FAUDES_OBJCOUNT_INC
Debug: count objects, report on exit Definition at line 183 of file cfl_definitions.h. ◆ FAUDES_TIMER_LAP
Value:
{ \
faudes_systime_t now; \
faudes_mstime_t lap; \
faudes_gettimeofday(&now); \
faudes_diffsystime(now,gPerfTimer1,&lap); \
FD_WARN("timer lap " << msg << " " << lap << "ms");}
Definition at line 191 of file cfl_definitions.h. ◆ FAUDES_TIMER_START
Value:
Debug: timing Definition at line 188 of file cfl_definitions.h. ◆ FAUDES_WRITE_CONSOLE
Value:
{ if(!faudes::ConsoleOut::G()->Mute()) { \
std::ostringstream cfl_line; cfl_line << message << std::endl; \
faudes::ConsoleOut::G()->Write(cfl_line.str()); } }
virtual void Write(const std::string &message, long int cntnow=0, long int cntdone=0, int verb=0) Definition: cfl_utils.cpp:450 Debug: output macro for optional redirection of all console output Definition at line 79 of file cfl_definitions.h. ◆ FAUDES_WRITE_DIRECT
Debug: console output, no redirection Definition at line 75 of file cfl_definitions.h. ◆ FD_CONSECUTIVE
Min number of states to use consecutive section in file output Definition at line 64 of file cfl_definitions.h. ◆ FD_DC
Debug: optional report on container operations Definition at line 154 of file cfl_definitions.h. ◆ FD_DF
Debug: optional report on user functions Definition at line 139 of file cfl_definitions.h. ◆ FD_DG
Debug: optional report on generator operations Definition at line 147 of file cfl_definitions.h. ◆ FD_DLINE
Value:
FD_WARN( \
std::endl << "################################################ " << \
std::endl << message << " at file " << __FILE__ << ", line " << __LINE__ << endl << \
std::endl << "################################################ " << std::endl );
Tutorial/debugging mark Definition at line 200 of file cfl_definitions.h. ◆ FD_DREG
Debug: optional report registry operations Definition at line 168 of file cfl_definitions.h. ◆ FD_DRTI
Debug: optional on function and type definition Definition at line 161 of file cfl_definitions.h. ◆ FD_DV
Debug: optional low-level report on iterations and token IO Definition at line 175 of file cfl_definitions.h. ◆ FD_ERR
Debug: report more errors with file/line info Definition at line 92 of file cfl_definitions.h. ◆ FD_MAXCONTAINERNAME
Max length of automatic container names (set to -1 for unlimited) Definition at line 58 of file cfl_definitions.h. ◆ FD_NAMELEN
Length of strings for text fields in token output Definition at line 55 of file cfl_definitions.h. ◆ FD_RTIMAXSIG
Max number of automatic signatures Definition at line 67 of file cfl_definitions.h. ◆ FD_SMALLTRANSREL
Max size of transrel for state name output Definition at line 61 of file cfl_definitions.h. ◆ FD_WARN
Debug: always report warnings Definition at line 85 of file cfl_definitions.h. ◆ FD_WP
Application callback: optional write progress report to console or application Definition at line 99 of file cfl_definitions.h. ◆ FD_WPC
Application callback: optional write progress report to console or application, incl count Definition at line 108 of file cfl_definitions.h. ◆ FD_WPD
Value:
{ \
static faudes_systime_t start; \
static faudes_systime_t now; \
static faudes_mstime_t lap; \
static Int prog; \
static bool init(false); \
if(!init) { faudes_gettimeofday(&start); prog=cntnow;} \
faudes_gettimeofday(&now); \
faudes_diffsystime(now,start,&lap); \
if(!init) lap=10000; \
if(lap>=10000) { \
Int cps = (cntnow-prog)/(lap/1000); \
std::ostringstream cfl_line; \
cfl_line << "FAUDES_PROGRESS: " << message; \
if(cntnow>0) cfl_line << " (#/sec: " << cps << ")";\
cfl_line << std::endl; \
faudes::ConsoleOut::G()->Write(cfl_line.str(),(cntnow),(cntdone)); LoopCallback(); \
faudes_gettimeofday(&start); \
prog=cntnow; \
} \
init=true; }
Alternative progessreport for development Definition at line 112 of file cfl_definitions.h. libFAUDES 2.33b --- 2025.05.07 --- c++ api documentaion by doxygen |