Searched refs:msg_type (Results 1 - 12 of 12) sorted by relevance

/gem5/src/systemc/ext/utils/
H A Dsc_report_handler.hh69 static void report(sc_severity, const char *msg_type, const char *msg,
71 static void report(sc_severity, const char *msg_type, const char *msg,
79 static sc_actions set_actions(const char *msg_type,
81 static sc_actions set_actions(const char *msg_type, sc_severity,
85 static int stop_after(const char *msg_type, int limit=-1);
86 static int stop_after(const char *msg_type, sc_severity, int limit=-1);
89 static int get_count(const char *msg_type);
90 static int get_count(const char *msg_type, sc_severity);
117 #define SC_REPORT_INFO_VERB(msg_type, msg, verbosity) \
119 ::sc_core::SC_INFO, msg_type, ms
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_verbosity/
H A Dsc_verbosity.cpp39 void report_with_verbosity(const char* msg_type) argument
41 SC_REPORT_INFO_VERB(msg_type, "verbosity=SC_NONE", SC_NONE);
42 SC_REPORT_INFO_VERB(msg_type, "verbosity=SC_LOW", SC_LOW);
43 SC_REPORT_INFO_VERB(msg_type, "verbosity=SC_MEDIUM", SC_MEDIUM);
44 SC_REPORT_INFO_VERB(msg_type, "verbosity=SC_HIGH", SC_HIGH);
45 SC_REPORT_INFO_VERB(msg_type, "verbosity=SC_FULL", SC_FULL);
46 SC_REPORT_INFO_VERB(msg_type, "verbosity=SC_DEBUG", SC_DEBUG);
90 SC_REPORT_ERROR("msg_type", "msg");
/gem5/src/systemc/utils/
H A Dsc_report_handler.cc55 sc_report_handler::report(sc_severity severity, const char *msg_type, argument
58 report(severity, msg_type, msg, SC_MEDIUM, file, line);
62 sc_report_handler::report(sc_severity severity, const char *msg_type, argument
66 if (!msg_type)
67 msg_type = SC_ID_UNKNOWN_ERROR_;
73 sc_gem5::ReportMsgInfo &msgInfo = sc_gem5::reportMsgInfoMap()[msg_type];
94 sc_report report(severity, msg_type, msg, verbosity, file, line,
114 std::string &msg_type = sc_gem5::reportIdToMsgMap()[id]; local
119 report(severity, msg_type.c_str(), msg, file, line);
132 sc_report_handler::set_actions(const char *msg_type, sc_action argument
144 set_actions( const char *msg_type, sc_severity severity, sc_actions actions) argument
166 stop_after(const char *msg_type, int limit) argument
178 stop_after( const char *msg_type, sc_severity severity, int limit) argument
197 get_count(const char *msg_type) argument
206 get_count(const char *msg_type, sc_severity severity) argument
360 sc_interrupt_here(const char *msg_type, sc_severity) argument
366 sc_stop_here(const char *msg_type, sc_severity) argument
[all...]
H A Dsc_report.cc41 sc_report::sc_report(sc_severity _severity, const char *msg_type, argument
44 _severity(_severity), _msgType(msg_type), _msg(msg),
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_report_handler.h43 const char* msg_type; member in struct:sc_core::sc_msg_def
63 const char* msg_type,
69 const char* msg_type,
78 static sc_actions set_actions(const char * msg_type,
81 static sc_actions set_actions(const char * msg_type,
86 static int stop_after(const char* msg_type, int limit = -1);
87 static int stop_after(const char* msg_type, sc_severity, int limit = -1);
132 static sc_msg_def* add_msg_type(const char * msg_type);
154 static sc_msg_def* mdlookup(const char* msg_type);
H A Dsc_report.h202 #define SC_REPORT_INFO( msg_type, msg ) \
204 ::sc_core::SC_INFO, msg_type, msg, __FILE__, __LINE__ )
206 #define SC_REPORT_INFO_VERB( msg_type, msg, verbosity ) \
208 ::sc_core::SC_INFO, msg_type, msg, verbosity, \
211 #define SC_REPORT_WARNING( msg_type, msg ) \
213 ::sc_core::SC_WARNING, msg_type, msg, __FILE__, __LINE__ )
215 #define SC_REPORT_ERROR( msg_type, msg ) \
217 ::sc_core::SC_ERROR, msg_type, msg, __FILE__, __LINE__ )
219 #define SC_REPORT_FATAL( msg_type, msg ) \
221 ::sc_core::SC_FATAL, msg_type, ms
[all...]
H A Dsc_report.cpp157 return md->msg_type;
220 if( strcmp( msg, md->msg_type ) != 0 ) {
234 return md ? md->msg_type: unknown_id;
H A Dsc_report_handler.cpp200 if( !msg_type_ ) // if msg_type is NULL, report unknown error
206 if ( !strcmp(msg_type_, item->md[i].msg_type) )
364 // (or implicit msg_type registration: set_actions, abort_after)
378 if ( items->md[i].msg_type == items->md[i].msg_type_data )
433 items->md->msg_type = items->md->msg_type_data;
/gem5/src/mem/slicc/ast/
H A DOutPortDeclAST.py34 def __init__(self, slicc, ident, msg_type, var_expr, pairs):
38 self.msg_type = msg_type
54 if not self.symtab.find(self.msg_type.ident, Type):
56 self.msg_type.ident)
H A DPeekStatementAST.py48 msg_type = self.type_ast.type
51 var = Var(self.symtab, "in_msg", self.location, msg_type, "(*in_msg_ptr)",
59 mtid = msg_type.c_ident
H A DEnqueueStatementAST.py50 msg_type = self.type_ast.type
53 v = Var(self.symtab, "out_msg", self.location, msg_type, "*out_msg",
58 code("std::shared_ptr<${{msg_type.c_ident}}> out_msg = "\
59 "std::make_shared<${{msg_type.c_ident}}>(clockEdge());")
H A DInPortDeclAST.py33 def __init__(self, slicc, ident, msg_type, var_expr, pairs, statements):
37 self.msg_type = msg_type

Completed in 16 milliseconds