Searched refs:sc_report_handler (Results 1 - 25 of 38) sorted by relevance

12

/gem5/src/systemc/tests/systemc/utils/sc_report/test04/
H A Dempty_msg_id.cpp32 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 Dlog_file.cpp55 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 Dtest200.cpp71 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 Dsc_verbosity.cpp56 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 Dtest220.cpp7 // 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 Daction_selection.cpp75 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 Dtest.cpp53 sc_report_handler::set_actions("/IEEE_Std_1666/deprecated", SC_DO_NOTHING);
/gem5/src/systemc/tests/systemc/utils/sc_report/test05/
H A Dcatch_actions.cpp38 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 Dsc_main_fiber.cc39 #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 Dsc_report_handler.cc40 #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 Dsc_report_handler.cpp22 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 Dsc_utils_ids.cpp75 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 Dsc_report.h95 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 Dsc_report.cpp167 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 Dtest03.cpp49 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 Dcached.cpp78 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 Dsc_report_handler.hh66 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 Dsc_report.hh60 class sc_report_handler;
92 friend class sc_report_handler;
/gem5/util/tlm/examples/master_port/
H A Dmain.cc51 sc_core::sc_report_handler::set_handler(reportHandler);
/gem5/util/tlm/examples/slave_port/
H A Dmain.cc62 sc_core::sc_report_handler::set_handler(reportHandler);
/gem5/src/systemc/tests/systemc/utils/sc_vector/test08/
H A Dtest08.cpp42 sc_report_handler::set_actions( SC_ERROR, SC_DISPLAY );
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_main_main.cpp35 #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 Dsc_method_reset_throw.cpp96 sc_report_handler::set_actions( "disable() or dont_initialize() "
/gem5/src/systemc/tests/systemc/compliance_1666/test235b/
H A Dtest235b.cpp76 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 Dtest19.cpp62 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 );

Completed in 28 milliseconds

12