Searched refs:state (Results 51 - 75 of 109) sorted by relevance

12345

/gem5/src/systemc/tests/systemc/kernel/process_control/disable_enable/test2/
H A Dtest2.cpp169 static int state = 0; local
170 switch( state )
180 else if ( state < 18 )
189 state++;
/gem5/src/systemc/tests/systemc/kernel/process_control/suspend_resume/test2/
H A Dtest2.cpp182 static int state = 0; local
183 switch( state )
193 else if ( state < 20 )
202 state++;
/gem5/src/python/m5/util/
H A Dattrdict.py53 def __setstate__(self, state):
54 self.update(state)
/gem5/src/dev/arm/
H A DDisplay.py64 def generateDeviceTree(self, state):
92 state.phandle(self.timingNode())))
H A DSMMUv3.py175 def generateDeviceTree(self, state):
181 state.addrCells(reg_addr) +
182 state.sizeCells(reg_size)))
/gem5/src/cpu/minor/
H A Dlsq.hh78 MemoryState state);
185 LSQRequestState state; member in class:Minor::LSQ::LSQRequest
256 /** Set state and output trace output */
271 AddrRangeCoverage state);
274 LSQRequest::LSQRequestState state);
322 { state = Failed; }
335 { state = Complete; }
538 /** Retry state of last issued memory transfer */
539 MemoryState state; member in class:Minor::LSQ
571 * state change
[all...]
H A Dexecute.hh128 /** Stage cycle-by-cycle state */
134 * Note that Execute doesn't actually have * a 'Drained' state, only
207 friend std::ostream &operator <<(std::ostream &os, DrainState state);
308 /** Set the drain state (with useful debugging messages) */
309 void setDrainState(ThreadID thread_id, DrainState state);
/gem5/src/arch/arm/
H A Dnativetrace.cc69 oldState = state[current];
71 newState = state[current];
73 memcpy(newState, oldState, sizeof(state[0]));
104 oldState = state[current];
106 newState = state[current];
/gem5/src/mem/
H A Dmem_checker_monitor.cc151 MemCheckerMonitorSenderState* state = NULL; local
166 state = new MemCheckerMonitorSenderState(0);
167 pkt->pushSenderState(state);
173 // If not successful, restore the sender state
184 // At the time where we push the sender-state, we do not yet know
186 // cannot call startRead at the time we push the sender-state, as
188 // and in case of a failure, we must not modify the state of the
192 // serial of the newly constructed sender-state. This is legal, as
194 // deletion of our sender-state.
195 state
[all...]
/gem5/src/sim/
H A Ddrain.cc113 // in the the Drained state. New objects (i.e., objects created
114 // while resuming) will inherit the Resuming state from the
116 // objects are in the Running state.
138 "Running state.\n");
177 DrainManager::allInState(DrainState state) const
180 if (obj->drainState() != state)
198 _drainState(_drainManager.state())
/gem5/src/systemc/tests/systemc/kernel/process_control/disable_enable/test1/
H A Dtest1.cpp144 static int state = 0; local
145 switch( state )
165 state++;
/gem5/src/systemc/tests/systemc/kernel/process_control/suspend_resume/test1/
H A Dtest1.cpp154 static int state = 0; local
155 switch( state )
178 state++;
/gem5/ext/googletest/googlemock/src/
H A Dgmock-spec-builders.cc160 // Describes the state of the expectation (e.g. is it satisfied?
520 // The current state of a mock object. Such information is needed for
537 // A global registry holding the state of all mock objects that are
543 // Maps a mock object (identified by its address) to its state.
566 const MockObjectState& state = it->second; local
567 std::cout << internal::FormatFileLocation(state.first_used_file,
568 state.first_used_line);
570 if (state.first_used_test != "") {
571 std::cout << " (used in test " << state.first_used_test_case << "."
572 << state
725 MockObjectState& state = g_mock_object_registry.states()[mock_obj]; local
[all...]
/gem5/configs/dram/
H A Dlow_power_sweep.py53 # This script aims at triggering low power state transitions in the DRAM
57 # through an idle state with no requests to enforce self-refresh.
131 # We create a traffic generator state for each param combination we want to
132 # test. Each traffic generator state is specified in the config file and the
133 # generator remains in the state for specific period. This period is 0.25 ms.
134 # Stats are dumped and reset at the state transition.
191 cfg_file.write("""# STATE state# period mode=DRAM
211 # Init state is state 0
215 for state i
[all...]
/gem5/src/cpu/o3/
H A Dlsq_unit_impl.hh115 LSQSenderState *state = dynamic_cast<LSQSenderState *>(pkt->senderState); local
116 DynInstPtr inst = state->inst;
120 /* Notify the sender state that the access is complete (for ownership
122 state->complete();
126 if (state->needWB) {
131 writeback(inst, state->request()->mainPacket());
133 auto ss = dynamic_cast<SQSenderState*>(state);
140 completeStore(dynamic_cast<SQSenderState*>(state)->idx);
770 SQSenderState *state = new SQSenderState(storeWBIt); local
771 state
1062 auto state = dynamic_cast<LSQSenderState*>(data_pkt->senderState); local
[all...]
/gem5/configs/boot/
H A Dnatbox-spec-surge.rcS45 $IPTABLES -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED,RELATED -j ACCEPT
/gem5/src/arch/sparc/
H A Dremote_gdb.hh88 uint64_t state; member in struct:SparcISA::RemoteGDB::SPARC64GdbRegCache::__anon8
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbutils.cpp117 fsm_move(char c, small_type &b, small_type &s, small_type &state) argument
127 // The finite state machine (FMS) to parse these regular expressions
128 // has 4 states, 0 to 3. 0 is the initial state and 3 is the final
129 // state.
133 switch (state) {
135 case 0: // The initial state.
137 case '0': s = SC_POS; state = 1; return 0; // RE 1 or 3
138 case '+': s = SC_POS; state = 2; return 1; // RE 2
139 case '-': s = SC_NEG; state = 2; return 1; // RE 2
140 default: s = SC_POS; b = NB_DEFAULT_BASE; state
191 small_type state = STATE_START; local
[all...]
/gem5/src/systemc/dt/int/
H A Dsc_nbutils.cc142 fsm_move(char c, small_type &b, small_type &s, small_type &state) argument
151 // The finite state machine (FMS) to parse these regular expressions
152 // has 4 states, 0 to 3. 0 is the initial state and 3 is the final
153 // state.
157 switch (state) {
158 case 0: // The initial state.
160 case '0': s = SC_POS; state = 1; return 0; // RE 1 or 3
161 case '+': s = SC_POS; state = 2; return 1; // RE 2
162 case '-': s = SC_NEG; state = 2; return 1; // RE 2
164 s = SC_POS; b = NB_DEFAULT_BASE; state
209 small_type state = STATE_START; local
[all...]
/gem5/src/arch/x86/
H A Dpagetable_walker.hh99 State state; member in class:X86ISA::Walker::WalkerState
118 walker(_walker), req(_req), state(Ready),
161 // Kick off the state machine.
/gem5/ext/nomali/include/libnomali/
H A Dnomali.h117 * Interrupt state change
310 * Get the state of an interrupt line
312 * This function queries the state of one of the GPU's interrupt
313 * lines. The state of the interrupt line is returned in 'state',
315 * value of the state variable is undefined if the function call
319 * @param[out] state Pointer to output, 1 if the interrupt is
329 nomali_error_t nomali_int_state(nomali_handle_t h, int *state,
/gem5/src/mem/cache/prefetch/
H A Daccess_map_pattern_matching.hh77 /** Data type representing the state of a cacheline in the access map */
89 /** vector containing the state of the cachelines in this zone */
162 * Updates the state of a block within an AccessMapEntry, also updates
166 * @param state new state
169 enum AccessMapState state);
/gem5/src/cpu/
H A DBaseCPU.py157 "Latency to enter power gating state when all contexts are suspended")
160 "to the OFF power state after all thread are disabled for "\
298 def generateDeviceTree(self, state):
310 cpus_node.append(state.CPUCellsProperty())
320 node.append(FdtPropertyWords("reg", state.CPUAddrCells(reg)))
323 platform.annotateCpuDeviceNode(node, state)
/gem5/src/dev/
H A Dintpin.hh70 bool state() { return _state; } function in class:IntSinkPinBase
/gem5/ext/pybind11/tests/
H A Dtest_virtual_functions.py9 def __init__(self, state):
10 super(ExtendedExampleVirt, self).__init__(state + 1)
28 def __init__(self, state):
29 super(ExtendedExampleVirt2, self).__init__(state + 1)
38 Original implementation of ExampleVirt::run(state=10, value=20, str1=default1, str2=default2)
50 Original implementation of ExampleVirt::run(state=11, value=21, str1=override1, str2=default2)
64 Original implementation of ExampleVirt::run(state=17, value=51, str1=override1, str2=override2)

Completed in 37 milliseconds

12345