gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_core::sc_report_handler Class Reference

#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_reportget_cached_report ()
 
static void clear_cached_report ()
 
static bool set_log_file_name (const char *)
 
static const char * get_log_file_name ()
 

Detailed Description

Definition at line 64 of file sc_report_handler.hh.

Member Function Documentation

◆ clear_cached_report()

void sc_core::sc_report_handler::clear_cached_report ( )
static

◆ default_handler()

◆ force() [1/2]

sc_actions sc_core::sc_report_handler::force ( )
static

Definition at line 254 of file sc_report_handler.cc.

References force().

Referenced by force().

◆ force() [2/2]

sc_actions sc_core::sc_report_handler::force ( sc_actions actions)
static

Definition at line 246 of file sc_report_handler.cc.

References sc_gem5::reportForcedActions.

◆ get_cached_report()

sc_report * sc_core::sc_report_handler::get_cached_report ( )
static

◆ get_catch_actions()

sc_actions sc_core::sc_report_handler::get_catch_actions ( )
static

◆ get_count() [1/3]

int sc_core::sc_report_handler::get_count ( const char * msg_type)
static

◆ get_count() [2/3]

int sc_core::sc_report_handler::get_count ( const char * msg_type,
sc_severity severity )
static

◆ get_count() [3/3]

int sc_core::sc_report_handler::get_count ( sc_severity severity)
static

Definition at line 193 of file sc_report_handler.cc.

References sc_gem5::ReportSevInfo::count, and sc_gem5::reportSevInfos.

◆ get_log_file_name()

const char * sc_core::sc_report_handler::get_log_file_name ( )
static

Definition at line 353 of file sc_report_handler.cc.

◆ get_new_action_id()

sc_actions sc_core::sc_report_handler::get_new_action_id ( )
static

Definition at line 309 of file sc_report_handler.cc.

References sc_core::SC_ABORT.

◆ get_verbosity_level()

int sc_core::sc_report_handler::get_verbosity_level ( )
static

Definition at line 225 of file sc_report_handler.cc.

References sc_gem5::reportVerbosityLevel.

◆ report() [1/3]

void sc_core::sc_report_handler::report ( sc_severity severity,
const char * msg_type,
const char * msg,
const char * file,
int line )
static

Definition at line 53 of file sc_report_handler.cc.

References report().

Referenced by default_handler(), report(), report(), and report().

◆ report() [2/3]

◆ report() [3/3]

void sc_core::sc_report_handler::report ( sc_severity severity,
int id,
const char * msg,
const char * file,
int line )
static

◆ set_actions() [1/3]

sc_actions sc_core::sc_report_handler::set_actions ( const char * msg_type,
sc_actions actions = SC_UNSPECIFIED )
static

◆ set_actions() [2/3]

sc_actions sc_core::sc_report_handler::set_actions ( const char * msg_type,
sc_severity severity,
sc_actions actions = SC_UNSPECIFIED )
static

◆ set_actions() [3/3]

sc_actions sc_core::sc_report_handler::set_actions ( sc_severity severity,
sc_actions actions = SC_UNSPECIFIED )
static

◆ set_catch_actions()

sc_actions sc_core::sc_report_handler::set_catch_actions ( sc_actions actions)
static

Definition at line 261 of file sc_report_handler.cc.

References sc_gem5::reportCatchActions.

◆ set_handler()

void sc_core::sc_report_handler::set_handler ( sc_report_handler_proc proc)
static

Definition at line 276 of file sc_report_handler.cc.

References sc_gem5::reportHandlerProc.

Referenced by sc_gem5::reportifyException().

◆ set_log_file_name()

bool sc_core::sc_report_handler::set_log_file_name ( const char * new_name)
static

Definition at line 337 of file sc_report_handler.cc.

◆ set_verbosity_level()

int sc_core::sc_report_handler::set_verbosity_level ( int vl)
static

Definition at line 217 of file sc_report_handler.cc.

References sc_gem5::reportVerbosityLevel.

◆ stop_after() [1/3]

int sc_core::sc_report_handler::stop_after ( const char * msg_type,
int limit = -1 )
static

◆ stop_after() [2/3]

int sc_core::sc_report_handler::stop_after ( const char * msg_type,
sc_severity severity,
int limit = -1 )
static

◆ stop_after() [3/3]

int sc_core::sc_report_handler::stop_after ( sc_severity severity,
int limit = -1 )
static

Definition at line 159 of file sc_report_handler.cc.

References sc_gem5::ReportSevInfo::limit, and sc_gem5::reportSevInfos.

◆ suppress() [1/2]

sc_actions sc_core::sc_report_handler::suppress ( )
static

Definition at line 240 of file sc_report_handler.cc.

References suppress().

Referenced by suppress().

◆ suppress() [2/2]

sc_actions sc_core::sc_report_handler::suppress ( sc_actions actions)
static

Definition at line 232 of file sc_report_handler.cc.

References sc_gem5::reportSuppressedActions.


The documentation for this class was generated from the following files:

Generated on Tue Jun 18 2024 16:24:55 for gem5 by doxygen 1.11.0