gem5
v20.1.0.0
|
#include <sc_report.hh>
Public Member Functions | |
sc_report (const sc_report &) | |
sc_report & | operator= (const sc_report &) |
virtual | ~sc_report () throw () |
sc_severity | get_severity () const |
const char * | get_msg_type () const |
const char * | get_msg () const |
int | get_verbosity () const |
const char * | get_file_name () const |
int | get_line_number () const |
const sc_time & | get_time () const |
const char * | get_process_name () const |
virtual const char * | what () const throw () |
int | get_id () const |
Static Public Member Functions | |
static const char * | get_message (int id) |
static bool | is_suppressed (int id) |
static void | make_warnings_errors (bool) |
static void | register_id (int id, const char *msg) |
static void | suppress_id (int id, bool) |
static void | suppress_infos (bool) |
static void | suppress_warnings (bool) |
Private Member Functions | |
sc_report (sc_severity _severity, const char *_msgType, const char *_msg, int _verbosity, const char *_fileName, int _lineNumber, sc_time _time, const char *_processName, int _id) | |
Private Attributes | |
sc_severity | _severity |
const char * | _msgType |
const char * | _msg |
int | _verbosity |
const char * | _fileName |
int | _lineNumber |
sc_time | _time |
const char * | _processName |
int | _id |
std::string | _what |
Friends | |
class | sc_report_handler |
Definition at line 60 of file sc_report.hh.
sc_core::sc_report::sc_report | ( | const sc_report & | r | ) |
Definition at line 53 of file sc_report.cc.
|
virtual |
Definition at line 75 of file sc_report.cc.
|
private |
Definition at line 39 of file sc_report.cc.
References _msg, _msgType, _what, and sc_core::sc_report_compose_message().
|
inline |
Definition at line 71 of file sc_report.hh.
References _fileName.
Referenced by sc_core::sc_report_compose_message().
|
inline |
Definition at line 87 of file sc_report.hh.
References _id.
Referenced by sc_core::sc_report_compose_message().
|
inline |
Definition at line 72 of file sc_report.hh.
References _lineNumber.
Referenced by sc_core::sc_report_compose_message().
|
static |
Definition at line 88 of file sc_report.cc.
References sc_gem5::reportIdToMsgMap().
|
inline |
Definition at line 69 of file sc_report.hh.
References _msg.
Referenced by sc_core::sc_report_compose_message().
|
inline |
Definition at line 68 of file sc_report.hh.
References _msgType.
Referenced by sc_core::sc_report_compose_message().
|
inline |
Definition at line 75 of file sc_report.hh.
References _processName.
Referenced by sc_core::sc_report_compose_message().
|
inline |
Definition at line 67 of file sc_report.hh.
References _severity.
Referenced by sc_core::sc_report_compose_message().
|
inline |
Definition at line 74 of file sc_report.hh.
References _time.
Referenced by sc_core::sc_report_compose_message().
|
inline |
Definition at line 70 of file sc_report.hh.
References _verbosity.
|
static |
Definition at line 98 of file sc_report.cc.
References sc_gem5::reportIdToMsgMap(), sc_gem5::reportMsgInfoMap(), sc_core::SC_DO_NOTHING, sc_core::SC_INFO, and sc_core::SC_WARNING.
|
static |
Definition at line 112 of file sc_report.cc.
References sc_gem5::reportWarningsAsErrors, and X86ISA::val.
Definition at line 59 of file sc_report.cc.
References _fileName, _id, _lineNumber, _msg, _msgType, _processName, _severity, _time, _verbosity, and MipsISA::r.
|
static |
Definition at line 118 of file sc_report.cc.
References ArmISA::id, MipsISA::p, sc_gem5::reportIdToMsgMap(), sc_gem5::reportMsgInfoMap(), sc_core::SC_ID_REGISTER_ID_FAILED_, and SC_REPORT_ERROR.
Referenced by sc_gem5::DefaultReportMessages::DefaultReportMessages().
|
static |
Definition at line 138 of file sc_report.cc.
References sc_gem5::reportIdToMsgMap(), sc_gem5::reportMsgInfoMap(), sc_core::SC_DO_NOTHING, sc_core::SC_INFO, sc_core::SC_UNSPECIFIED, and sc_core::SC_WARNING.
|
static |
Definition at line 158 of file sc_report.cc.
References sc_gem5::ReportSevInfo::actions, sc_gem5::reportSevInfos, sc_core::SC_DEFAULT_INFO_ACTIONS, sc_core::SC_DO_NOTHING, and sc_core::SC_INFO.
|
static |
Definition at line 167 of file sc_report.cc.
References sc_gem5::ReportSevInfo::actions, sc_gem5::reportSevInfos, sc_core::SC_DEFAULT_WARNING_ACTIONS, sc_core::SC_DO_NOTHING, and sc_core::SC_WARNING.
|
virtual |
Definition at line 82 of file sc_report.cc.
References _what.
|
friend |
Definition at line 90 of file sc_report.hh.
|
private |
Definition at line 106 of file sc_report.hh.
Referenced by get_file_name(), and operator=().
|
private |
Definition at line 110 of file sc_report.hh.
Referenced by get_id(), and operator=().
|
private |
Definition at line 107 of file sc_report.hh.
Referenced by get_line_number(), and operator=().
|
private |
Definition at line 104 of file sc_report.hh.
Referenced by get_msg(), operator=(), sc_report(), and ~sc_report().
|
private |
Definition at line 103 of file sc_report.hh.
Referenced by get_msg_type(), operator=(), sc_report(), and ~sc_report().
|
private |
Definition at line 109 of file sc_report.hh.
Referenced by get_process_name(), and operator=().
|
private |
Definition at line 102 of file sc_report.hh.
Referenced by get_severity(), and operator=().
|
private |
Definition at line 108 of file sc_report.hh.
Referenced by get_time(), and operator=().
|
private |
Definition at line 105 of file sc_report.hh.
Referenced by get_verbosity(), and operator=().
|
private |
Definition at line 111 of file sc_report.hh.
Referenced by sc_report(), and what().