/gem5/src/systemc/tests/systemc/utils/sc_report/test04/ |
H A D | empty_msg_id.cpp | 32 using sc_core::sc_report_handler; 40 cout << sc_report_handler::get_count(empty_msg) << endl; 41 sc_assert( sc_report_handler::get_count(empty_msg) == 1 ); 44 cout << sc_report_handler::get_count("") << endl; 45 sc_assert( sc_report_handler::get_count(empty_msg) == 2 ); 49 cout << sc_report_handler::get_count(null_msg) << endl; 50 sc_assert( sc_report_handler::get_count(null_msg) == 1 ); 53 cout << sc_report_handler::get_count(null_msg) << endl; 54 sc_assert( sc_report_handler::get_count(null_msg) == 2 );
|
/gem5/src/systemc/tests/systemc/utils/sc_report/log_file/ |
H A D | log_file.cpp | 55 sc_report_handler::report( SC_INFO, "ID1", "after log is opened", "method", 101); 56 sc_report_handler::report( SC_WARNING, "ID2", "after log is opened", "method", 102); 57 sc_report_handler::report( SC_ERROR, "ID1", "after log is opened", "method", 103); 58 sc_report_handler::report( SC_FATAL, "ID2", "after log is opened", "method", 104); 62 sc_report_handler::report( SC_INFO, "ID2", "after log is opened", "thread", 201); 63 sc_report_handler::report( SC_WARNING, "ID1", "after log is opened", "thread", 202); 64 sc_report_handler::report( SC_ERROR, "ID2", "after log is opened", "thread", 203); 65 sc_report_handler::report( SC_FATAL, "ID1", "after log is opened", "thread", 204); 77 sc_report_handler::stop_after( SC_ERROR, 0 ); 78 sc_report_handler [all...] |
/gem5/src/systemc/tests/systemc/compliance_1666/test200/ |
H A D | test200.cpp | 71 int i_count = sc_report_handler::get_count(SC_INFO);
72 int w_count = sc_report_handler::get_count(SC_WARNING);
73 int e_count = sc_report_handler::get_count(SC_ERROR);
74 int f_count = sc_report_handler::get_count(SC_FATAL);
76 sc_report_handler::set_actions(SC_INFO, SC_DO_NOTHING);
77 sc_report_handler::set_actions(SC_WARNING, SC_DO_NOTHING);
78 sc_report_handler::set_actions(SC_ERROR, SC_DO_NOTHING);
79 sc_report_handler::set_actions(SC_FATAL, SC_DO_NOTHING);
83 sc_assert(sc_report_handler::get_count(SC_INFO) == i_count + 1);
84 sc_assert(sc_report_handler [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_verbosity/ |
H A D | sc_verbosity.cpp | 56 sc_report_handler::set_verbosity_level( SC_NONE ); 58 sc_assert( sc_report_handler::get_verbosity_level() == 0 ); 60 sc_report_handler::set_verbosity_level( SC_MEDIUM ); 62 sc_assert( sc_report_handler::get_verbosity_level() == 200 ); 64 sc_report_handler::set_verbosity_level( SC_FULL ); 66 sc_assert( sc_report_handler::get_verbosity_level() == 400 ); 77 sc_report_handler::set_verbosity_level( SC_LOW ); 79 sc_assert( sc_report_handler::get_verbosity_level() == 100 ); 81 sc_report_handler::set_verbosity_level( SC_HIGH ); 83 sc_assert( sc_report_handler [all...] |
/gem5/src/systemc/tests/systemc/compliance_1666/test220/ |
H A D | test220.cpp | 7 // 20) sc_report_handler::stop_after(SC_FATAL,-1) should NOT call sc_stop on 1st fatal error
23 sc_assert(sc_report_handler::get_count(SC_FATAL) == 1);
26 sc_report_handler::stop_after(SC_FATAL, 0);
29 sc_assert(sc_report_handler::get_count(SC_FATAL) == 2);
32 sc_report_handler::stop_after(SC_FATAL, -1);
35 sc_assert(sc_report_handler::get_count(SC_FATAL) == 3);
53 sc_report_handler::set_actions(SC_FATAL, SC_DISPLAY);
61 sc_assert(sc_report_handler::get_count(SC_INFO) == 0);
62 sc_assert(sc_report_handler::get_count(SC_WARNING) == 0);
63 sc_assert(sc_report_handler [all...] |
/gem5/src/systemc/tests/systemc/utils/sc_report/action_selection/ |
H A D | action_selection.cpp | 75 usr = sc_report_handler::get_new_action_id(); 166 sc_report_handler::set_actions( SC_INFO, usr2 ); 167 sc_report_handler::set_actions( SC_WARNING, usr3 ); 168 sc_report_handler::set_actions( SC_ERROR, usr4 ); 169 sc_report_handler::set_actions( SC_FATAL, usr5 ); 172 sc_report_handler::set_actions( id2, usr1 ); 175 sc_report_handler::set_actions ( id3, SC_INFO, usr5 ); 176 sc_report_handler::set_actions ( id3, SC_ERROR, usr1 ); 180 sc_report_handler::report( SC_INFO, id, "extra_msg_for_info", "no_specific_file", 0); 181 sc_report_handler [all...] |
/gem5/src/systemc/tests/systemc/misc/stars/star116072/ |
H A D | test.cpp | 53 sc_report_handler::set_actions("/IEEE_Std_1666/deprecated", SC_DO_NOTHING);
|
/gem5/src/systemc/tests/systemc/utils/sc_report/test05/ |
H A D | catch_actions.cpp | 38 using sc_core::sc_report_handler; 65 sc_report_handler::default_handler(rep, actions & ~SC_DISPLAY); 73 sc_report_handler::set_log_file_name("catch_actions.ext.log"); 75 sc_report_handler::set_handler(custom_handler); 80 sc_actions act = sc_report_handler::set_catch_actions(SC_DISPLAY | SC_LOG); 82 sc_assert(sc_report_handler::get_catch_actions() == (SC_DISPLAY | SC_LOG)); 85 act = sc_report_handler::set_actions
|
/gem5/src/systemc/core/ |
H A D | sc_main_fiber.cc | 39 #include "systemc/ext/utils/sc_report_handler.hh" 66 r, ::sc_core::sc_report_handler::get_catch_actions()); 71 ::sc_core::sc_report_handler::get_catch_actions());
|
/gem5/src/systemc/utils/ |
H A D | sc_report_handler.cc | 40 #include "systemc/ext/utils/sc_report_handler.hh" 55 sc_report_handler::report(sc_severity severity, const char *msg_type, 62 sc_report_handler::report(sc_severity severity, const char *msg_type, 111 sc_report_handler::report(sc_severity severity, int id, const char *msg, 123 sc_report_handler::set_actions(sc_severity severity, sc_actions actions) 132 sc_report_handler::set_actions(const char *msg_type, sc_actions actions) 144 sc_report_handler::set_actions( 157 sc_report_handler::stop_after(sc_severity severity, int limit) 166 sc_report_handler::stop_after(const char *msg_type, int limit) 178 sc_report_handler [all...] |
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_report_handler.cpp | 22 sc_report_handler.cpp - 38 #include "sysc/utils/sc_report_handler.h" 45 int sc_report_handler::verbosity_level = SC_MEDIUM; 120 void sc_report_handler::default_handler(const sc_report& rep, 158 sc_report_handler::set_log_file_name(NULL); 167 int sc_report_handler::get_count(sc_severity severity_) 172 int sc_report_handler::get_count(const char* msg_type_) 182 int sc_report_handler::get_count(const char* msg_type_, sc_severity severity_) 194 // CLASS: sc_report_handler 198 sc_msg_def * sc_report_handler [all...] |
H A D | sc_utils_ids.cpp | 75 static sc_report_handler::msg_def_items items = { 82 sc_report_handler::add_static_msg_types(&items); 89 sc_report_handler::set_actions( SC_ID_IEEE_1666_DEPRECATION_
|
H A D | sc_report.h | 95 class sc_report_handler; 106 friend class sc_report_handler; 203 ::sc_core::sc_report_handler::report( \ 207 ::sc_core::sc_report_handler::report( \ 212 ::sc_core::sc_report_handler::report( \ 216 ::sc_core::sc_report_handler::report( \ 220 ::sc_core::sc_report_handler::report( \ 255 #include "sysc/utils/sc_report_handler.h"
|
H A D | sc_report.cpp | 167 void sc_report_handler::report(sc_severity severity_, 173 sc_msg_def * md = sc_report_handler::mdlookup(id_); 177 md = sc_report_handler::add_msg_type(unknown_id); 209 sc_msg_def * md = sc_report_handler::mdlookup(id); 212 md = sc_report_handler::add_msg_type(msg); 232 sc_msg_def* md = sc_report_handler::mdlookup(id); 240 sc_msg_def* md = sc_report_handler::mdlookup(id); 248 sc_msg_def* md = sc_report_handler::mdlookup(id_); 257 sc_report_handler::sev_actions[SC_INFO] = 264 sc_report_handler [all...] |
/gem5/src/systemc/tests/systemc/utils/sc_report/test03/ |
H A D | test03.cpp | 49 sc_report_handler::set_actions(SC_FATAL,SC_DISPLAY); 50 sc_report_handler::stop_after(SC_FATAL,-1);
|
/gem5/src/systemc/tests/systemc/utils/sc_report/cached/ |
H A D | cached.cpp | 78 sc_report* report = sc_report_handler::get_cached_report(); 93 sc_report_handler::clear_cached_report(); 123 sc_report_handler::report(SC_INFO, id.read(), "aa"+ofs, "file_t1", 110+ofs); 131 sc_report_handler::report(SC_WARNING, id.read(), "bb"+ofs, "file_m1", 210+ofs); 138 sc_report_handler::report(SC_WARNING, id.read(), "dd"+ofs, "file_t2", 120+ofs); 146 sc_report_handler::report(SC_INFO, id.read(), "ee"+ofs, "file_m2", 220+ofs); 155 sc_report_handler::set_actions( "ID1", SC_DISPLAY | SC_CACHE_REPORT ); 156 sc_report_handler::set_actions( "ID2", SC_DISPLAY ); 186 sc_report_handler::report(SC_INFO, ID.read(), "cc", "file_g", 300); 200 sc_report_handler [all...] |
/gem5/src/systemc/ext/utils/ |
H A D | sc_report_handler.hh | 66 class sc_report_handler class in namespace:sc_core 118 ::sc_core::sc_report_handler::report( \ 122 ::sc_core::sc_report_handler::report( \ 126 ::sc_core::sc_report_handler::report( \ 130 ::sc_core::sc_report_handler::report( \ 134 ::sc_core::sc_report_handler::report( \
|
H A D | sc_report.hh | 60 class sc_report_handler; 92 friend class sc_report_handler;
|
/gem5/util/tlm/examples/master_port/ |
H A D | main.cc | 51 sc_core::sc_report_handler::set_handler(reportHandler);
|
/gem5/util/tlm/examples/slave_port/ |
H A D | main.cc | 62 sc_core::sc_report_handler::set_handler(reportHandler);
|
/gem5/src/systemc/tests/systemc/utils/sc_vector/test08/ |
H A D | test08.cpp | 42 sc_report_handler::set_actions( SC_ERROR, SC_DISPLAY );
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_main_main.cpp | 35 #include "sysc/utils/sc_report_handler.h" 103 if ( sc_report_handler::get_count( SC_ID_IEEE_1666_DEPRECATION_ ) > 0 ) 114 "sc_core::sc_report_handler::set_actions( "
|
/gem5/src/systemc/tests/systemc/kernel/process_control/reset/method_reset_throw/ |
H A D | sc_method_reset_throw.cpp | 96 sc_report_handler::set_actions( "disable() or dont_initialize() "
|
/gem5/src/systemc/tests/systemc/compliance_1666/test235b/ |
H A D | test235b.cpp | 76 sc_report_handler::set_actions(SC_ERROR, SC_DISPLAY);
88 sc_assert(sc_report_handler::get_count(SC_ERROR) == 7);
|
/gem5/src/systemc/tests/systemc/kernel/sc_time/test19/ |
H A D | test19.cpp | 62 sc_report_handler::set_actions( SC_ID_SET_TIME_RESOLUTION_, SC_DO_NOTHING ); 63 sc_report_handler::set_actions( SC_ID_TIME_CONVERSION_FAILED_, SC_DISPLAY );
|