gem5
v20.1.0.0
|
#include <sc_report_handler.hh>
Static Public Member Functions | |
static void | report (sc_severity, const char *msg_type, const char *msg, const char *file, int line) |
static void | report (sc_severity, const char *msg_type, const char *msg, int verbosity, const char *file, int line) |
static void | report (sc_severity, int id, const char *msg, const char *file, int line) |
static sc_actions | set_actions (sc_severity, sc_actions=SC_UNSPECIFIED) |
static sc_actions | set_actions (const char *msg_type, sc_actions=SC_UNSPECIFIED) |
static sc_actions | set_actions (const char *msg_type, sc_severity, sc_actions=SC_UNSPECIFIED) |
static int | stop_after (sc_severity, int limit=-1) |
static int | stop_after (const char *msg_type, int limit=-1) |
static int | stop_after (const char *msg_type, sc_severity, int limit=-1) |
static int | get_count (sc_severity) |
static int | get_count (const char *msg_type) |
static int | get_count (const char *msg_type, sc_severity) |
static int | set_verbosity_level (int) |
static int | get_verbosity_level () |
static sc_actions | suppress (sc_actions) |
static sc_actions | suppress () |
static sc_actions | force (sc_actions) |
static sc_actions | force () |
static sc_actions | set_catch_actions (sc_actions) |
static sc_actions | get_catch_actions () |
static void | set_handler (sc_report_handler_proc) |
static void | default_handler (const sc_report &, const sc_actions &) |
static sc_actions | get_new_action_id () |
static sc_report * | get_cached_report () |
static void | clear_cached_report () |
static bool | set_log_file_name (const char *) |
static const char * | get_log_file_name () |
Definition at line 64 of file sc_report_handler.hh.
|
static |
Definition at line 322 of file sc_report_handler.cc.
References sc_gem5::Scheduler::current(), sc_gem5::globalReportCache, sc_gem5::Process::lastReport(), and sc_gem5::scheduler.
|
static |
Definition at line 278 of file sc_report_handler.cc.
References ccprintf(), cprintf(), sc_gem5::Scheduler::current(), sc_gem5::Process::isUnwinding(), report(), sc_core::SC_ABORT, sc_core::sc_abort(), sc_core::SC_DISPLAY, sc_core::SC_INTERRUPT, sc_core::sc_interrupt_here(), sc_core::SC_LOG, sc_core::sc_report_compose_message(), sc_core::SC_STOP, sc_core::sc_stop(), sc_core::sc_stop_here(), sc_core::SC_THROW, and sc_gem5::scheduler.
|
static |
Definition at line 250 of file sc_report_handler.cc.
References sc_core::SC_UNSPECIFIED.
|
static |
Definition at line 242 of file sc_report_handler.cc.
References sc_gem5::reportForcedActions.
|
static |
Definition at line 313 of file sc_report_handler.cc.
References sc_gem5::Scheduler::current(), sc_gem5::globalReportCache, sc_gem5::Process::lastReport(), and sc_gem5::scheduler.
|
static |
Definition at line 265 of file sc_report_handler.cc.
References sc_gem5::reportCatchActions.
Referenced by sc_gem5::ScMainFiber::main(), and sc_gem5::Scheduler::throwUp().
|
static |
Definition at line 195 of file sc_report_handler.cc.
References sc_gem5::reportMsgInfoMap(), and sc_core::SC_ID_UNKNOWN_ERROR_.
|
static |
Definition at line 204 of file sc_report_handler.cc.
References sc_gem5::reportMsgInfoMap(), and sc_core::SC_ID_UNKNOWN_ERROR_.
|
static |
Definition at line 189 of file sc_report_handler.cc.
References sc_gem5::ReportSevInfo::count, and sc_gem5::reportSevInfos.
|
static |
Definition at line 349 of file sc_report_handler.cc.
|
static |
Definition at line 305 of file sc_report_handler.cc.
References sc_core::SC_ABORT.
|
static |
Definition at line 221 of file sc_report_handler.cc.
References sc_gem5::reportVerbosityLevel.
|
static |
Definition at line 53 of file sc_report_handler.cc.
References sc_core::SC_MEDIUM.
Referenced by default_handler(), and report().
|
static |
Definition at line 60 of file sc_report_handler.cc.
References sc_gem5::ReportMsgInfo::actions, sc_gem5::ReportSevInfo::actions, sc_gem5::ReportSevInfo::checkLimit(), sc_gem5::ReportMsgInfo::checkLimits(), sc_gem5::ReportMsgInfo::count, sc_gem5::ReportSevInfo::count, sc_gem5::Scheduler::current(), sc_core::sc_time::from_value(), sc_gem5::globalReportCache, sc_gem5::ReportMsgInfo::id, sc_gem5::Process::lastReport(), sc_core::sc_object::name(), report(), sc_gem5::reportForcedActions, sc_gem5::reportHandlerProc, sc_gem5::reportMsgInfoMap(), sc_gem5::reportSevInfos, sc_gem5::reportSuppressedActions, sc_gem5::reportVerbosityLevel, sc_core::SC_CACHE_REPORT, sc_core::SC_ID_UNKNOWN_ERROR_, sc_core::SC_INFO, sc_core::SC_UNSPECIFIED, sc_gem5::scheduler, sc_gem5::ReportMsgInfo::sevActions, and sc_gem5::ReportMsgInfo::sevCounts.
|
static |
Definition at line 109 of file sc_report_handler.cc.
References ArmISA::id, report(), sc_gem5::reportIdToMsgMap(), sc_gem5::reportWarningsAsErrors, sc_core::SC_ERROR, and sc_core::SC_WARNING.
|
static |
Definition at line 130 of file sc_report_handler.cc.
References sc_gem5::ReportMsgInfo::actions, sc_gem5::reportMsgInfoMap(), and sc_core::SC_ID_UNKNOWN_ERROR_.
|
static |
Definition at line 142 of file sc_report_handler.cc.
References sc_gem5::reportMsgInfoMap(), sc_core::SC_ID_UNKNOWN_ERROR_, and sc_gem5::ReportMsgInfo::sevActions.
|
static |
Definition at line 121 of file sc_report_handler.cc.
References sc_gem5::ReportSevInfo::actions, and sc_gem5::reportSevInfos.
|
static |
Definition at line 257 of file sc_report_handler.cc.
References sc_gem5::reportCatchActions.
|
static |
Definition at line 272 of file sc_report_handler.cc.
References sc_gem5::reportHandlerProc.
Referenced by sc_gem5::reportifyException().
|
static |
Definition at line 333 of file sc_report_handler.cc.
|
static |
Definition at line 213 of file sc_report_handler.cc.
References sc_gem5::reportVerbosityLevel.
|
static |
Definition at line 164 of file sc_report_handler.cc.
References sc_gem5::ReportMsgInfo::limit, X86ISA::limit, sc_gem5::reportMsgInfoMap(), and sc_core::SC_ID_UNKNOWN_ERROR_.
|
static |
Definition at line 176 of file sc_report_handler.cc.
References X86ISA::limit, sc_gem5::reportMsgInfoMap(), sc_core::SC_ID_UNKNOWN_ERROR_, and sc_gem5::ReportMsgInfo::sevLimits.
|
static |
Definition at line 155 of file sc_report_handler.cc.
References sc_gem5::ReportSevInfo::limit, X86ISA::limit, and sc_gem5::reportSevInfos.
|
static |
Definition at line 236 of file sc_report_handler.cc.
References sc_core::SC_UNSPECIFIED.
|
static |
Definition at line 228 of file sc_report_handler.cc.
References sc_gem5::reportSuppressedActions.