gem5  v20.1.0.0
Static Public Member Functions | List of all members
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()

void sc_core::sc_report_handler::default_handler ( const sc_report report,
const sc_actions actions 
)
static

◆ force() [1/2]

sc_actions sc_core::sc_report_handler::force ( )
static

Definition at line 250 of file sc_report_handler.cc.

References sc_core::SC_UNSPECIFIED.

◆ force() [2/2]

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

Definition at line 242 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 189 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 349 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 305 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 221 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 sc_core::SC_MEDIUM.

Referenced by default_handler(), and report().

◆ report() [2/3]

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

◆ 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 257 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 272 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 333 of file sc_report_handler.cc.

◆ set_verbosity_level()

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

Definition at line 213 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

◆ suppress() [1/2]

sc_actions sc_core::sc_report_handler::suppress ( )
static

Definition at line 236 of file sc_report_handler.cc.

References sc_core::SC_UNSPECIFIED.

◆ suppress() [2/2]

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

Definition at line 228 of file sc_report_handler.cc.

References sc_gem5::reportSuppressedActions.


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

Generated on Wed Sep 30 2020 14:03:09 for gem5 by doxygen 1.8.17