19 #if (defined(HAVE_OMP) && HAVE_OMP) && defined(_SX)
21 #endif // HAVE_OMP && _SX
23 #include "vt_inttypes.h"
30 # define MASTER if( MyRank == 0 )
31 # define SLAVE if( MyRank != 0 )
50 : mode(default_mode), input_trcfile(
""), verbose_level(0),
51 show_progress(false), show_usage(false), show_version(false),
52 g_output_filtfile(
""), g_incl_file(
""), g_excl_file(
""),
53 g_call_limit(g_default_call_limit), g_reduce_ratio(0),
54 g_print_stats(false), g_incl_callees(false),
55 f_output_trcfile(
""), f_input_filtfile(
""),
56 f_max_output_streams(f_default_max_output_streams),
57 f_max_file_handles(f_default_max_file_handles),
58 f_compress_level(f_default_compress_level) {}
62 static const FilterModeT default_mode = MODE_FILT;
63 static const uint32_t g_default_call_limit = 0;
64 static const uint32_t f_default_max_output_streams = 0;
65 static const uint32_t f_default_max_file_handles = 256;
66 static const uint32_t f_default_compress_level = 4;
74 std::string input_trcfile;
75 uint32_t verbose_level;
82 std::string g_output_filtfile;
83 std::string g_incl_file;
84 std::string g_excl_file;
85 std::vector<std::string> g_incl_funcs;
86 std::vector<std::string> g_excl_funcs;
87 uint32_t g_call_limit;
88 uint32_t g_reduce_ratio;
94 std::string f_output_trcfile;
95 std::string f_input_filtfile;
96 uint32_t f_max_output_streams;
97 uint32_t f_max_file_handles;
98 uint32_t f_compress_level;
103 extern void VPrint( uint8_t level,
const char * fmt, ... );
106 extern void PVPrint( uint8_t level,
const char * fmt, ... );
112 extern std::string ExeName;
119 extern VT_MPI_INT NumRanks;
122 extern VT_MPI_INT MyRank;
125 #endif // _VT_FILTER_H_
Definition: datastructs.h:41