/gem5/util/tlm/examples/common/ |
H A D | report_handler.cc | 46 reportHandler(const sc_report &report, const sc_actions &actions) argument 51 if (actions & SC_DO_NOTHING) 54 if (actions & SC_DISPLAY || actions & SC_LOG) 56 std::ostream& stream = actions & SC_DISPLAY ? std::cout : std::cerr; 72 if (actions & SC_THROW) { 74 } else if (actions & SC_INTERRUPT) { 77 } else if (actions & SC_CACHE_REPORT) { 82 if (actions & SC_STOP) 85 if (actions [all...] |
H A D | report_handler.hh | 40 const sc_core::sc_actions &actions);
|
/gem5/src/mem/slicc/symbols/ |
H A D | Transition.py | 32 def __init__(self, table, machine, state, event, nextState, actions, 52 self.actions = [ machine.actions[a] for a in actions ] 56 for action in self.actions: 65 (self.state, self.event, self.nextState, self.actions) 68 assert self.actions 70 return ''.join(a.short for a in self.actions)
|
H A D | StateMachine.py | 83 self.actions = OrderedDict() 114 for other in self.actions.itervalues(): 124 self.actions[action.ident] = action 174 # Track which actions we touch so we know if we use them 179 for action in trans.actions: 188 # Look at all actions to make sure we used them all 189 for action in self.actions.itervalues(): 399 # Prototype the actions that the controller can take 405 for action in self.actions.itervalues(): 411 for action in self.actions [all...] |
/gem5/src/systemc/utils/ |
H A D | report.hh | 48 actions(sc_core::SC_UNSPECIFIED), count(0), limit(-1), 55 checkLimits(sc_core::sc_severity severity, sc_core::sc_actions &actions) argument 61 actions |= sc_core::SC_STOP; 65 sc_core::sc_actions actions; member in struct:sc_gem5::ReportMsgInfo 78 explicit ReportSevInfo(sc_core::sc_actions actions) : argument 79 actions(actions), count(0), limit(-1) 83 checkLimit(sc_core::sc_actions &actions) argument 86 actions |= sc_core::SC_STOP; 89 sc_core::sc_actions actions; member in struct:sc_gem5::ReportSevInfo [all...] |
H A D | sc_report_handler.cc | 79 sc_actions actions = SC_UNSPECIFIED; local 81 actions = msgInfo.sevActions[severity]; 82 else if (msgInfo.actions != SC_UNSPECIFIED) 83 actions = msgInfo.actions; 84 else if (sevInfo.actions != SC_UNSPECIFIED) 85 actions = sevInfo.actions; 87 actions &= ~sc_gem5::reportSuppressedActions; 88 actions | 123 set_actions(sc_severity severity, sc_actions actions) argument 132 set_actions(const char *msg_type, sc_actions actions) argument 144 set_actions( const char *msg_type, sc_severity severity, sc_actions actions) argument 230 suppress(sc_actions actions) argument 244 force(sc_actions actions) argument 259 set_catch_actions(sc_actions actions) argument 280 default_handler( const sc_report &report, const sc_actions &actions) argument [all...] |
H A D | sc_report.cc | 108 return (msgInfo.actions == SC_DO_NOTHING || 163 sc_gem5::reportSevInfos[SC_INFO].actions = SC_DO_NOTHING; 165 sc_gem5::reportSevInfos[SC_INFO].actions = SC_DEFAULT_INFO_ACTIONS; 172 sc_gem5::reportSevInfos[SC_WARNING].actions = SC_DO_NOTHING; 174 sc_gem5::reportSevInfos[SC_WARNING].actions =
|
/gem5/src/systemc/tests/systemc/utils/sc_report/test05/ |
H A D | catch_actions.cpp | 22 catch_actions.cpp -- Test for catch actions used with a custom report handler 42 void custom_handler(const sc_report& rep, const sc_actions& actions) argument 44 if ( actions & SC_DISPLAY ) { 52 // only log errors from catch actions 54 if (actions & SC_LOG) { 55 sc_assert( !(actions & SC_THROW) ); 57 sc_assert( actions & SC_THROW ); 62 last_report_thrown = (actions & SC_THROW); 64 // delegate other actions to default handler 65 sc_report_handler::default_handler(rep, actions [all...] |
/gem5/src/mem/slicc/ast/ |
H A D | TransitionDeclAST.py | 33 actions): 40 self.actions = actions 51 for action in self.actions: 52 if action not in machine.actions: 72 self.actions, self.request_types, self.location)
|
/gem5/src/mem/slicc/generate/ |
H A D | tex.py | 54 actions = trans.getActionShorthands() variable 60 state_str += actions 61 if nextState and actions:
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_report_handler.cpp | 121 const sc_actions& actions) 123 if ( actions & SC_DISPLAY ) 127 if ( (actions & SC_LOG) && get_log_file_name() ) 135 if ( actions & SC_STOP ) 140 if ( actions & SC_INTERRUPT ) 143 if ( actions & SC_ABORT ) 146 if ( actions & SC_THROW ) { 212 // The calculation of actions to be executed 215 sc_actions actions = md->sev_actions[severity_]; // high prio local 217 if ( SC_UNSPECIFIED == actions ) // middl 120 default_handler(const sc_report& rep, const sc_actions& actions) argument 284 sc_actions actions = execute(md, severity_); local 312 sc_actions actions = execute(md, severity_); local [all...] |
H A D | sc_report.cpp | 184 sc_actions actions = execute(md, severity_); local 187 if ( actions & SC_CACHE_REPORT ) 191 actions |= SC_THROW; 193 actions |= SC_ABORT; 195 handler(rep, actions); 242 return md ? md->actions == SC_DO_NOTHING: false; // only do-nothing set 251 md->actions = suppress ? SC_DO_NOTHING: SC_UNSPECIFIED;
|
H A D | sc_report_handler.h | 44 sc_actions actions; member in struct:sc_core::sc_msg_def
|
/gem5/ext/googletest/googlemock/ |
H A D | Makefile.am | 29 include/gmock/gmock-actions.h \ 31 include/gmock/gmock-generated-actions.h \ 36 include/gmock/gmock-more-actions.h \ 46 include/gmock/internal/custom/gmock-generated-actions.h \ 138 include/gmock/gmock-generated-actions.h.pump \ 143 include/gmock/internal/custom/gmock-generated-actions.h.pump
|
/gem5/src/systemc/tests/systemc/utils/sc_report/action_selection/ |
H A D | action_selection.cpp | 22 sc_report -- test error reporting, sepcifically which actions are selected 25 an reported tupel (id,severity) into a set of actions. This test 26 is dedicated to this functionality. It uses user-defined actions and 49 Allocate as many user-defined actions as possible. 77 cout << "We got " << n << " user-defined actions\n"; 101 // custom handler which is used to dump out reports and actions 102 void dump_all_handler( const sc_report& report, const sc_actions& actions) argument 109 sc_actions action = actions & 1<<n; 156 usr1..usr5 are user-defined actions 214 // - check which actions ar [all...] |
/gem5/ext/ply/ply/ |
H A D | yacc.py | 285 actions = self.action # Local reference to action table (to avoid lookup on self.) 357 t = actions[state].get(ltype) 600 actions = self.action # Local reference to action table (to avoid lookup on self.) 658 t = actions[state].get(ltype) 872 actions = self.action # Local reference to action table (to avoid lookup on self.) 930 t = actions[state].get(ltype) 2385 actlist = [ ] # List of actions 2499 # Print the actions associated with each terminal 2507 # Print the actions that were not used. (debugging) 2968 # Sort all of the actions b [all...] |