/gem5/ext/systemc/src/sysc/qt/md/ |
H A D | ksr1.s | 262 finop ; jmp 32(%c14) # jump back to thread 323 finop ; jmp 32(%c14) # jump back to thread 333 # A new thread is set up to "appear" as if it were executing code at 335 # (qt_blocki). So when a new thread starts to run, it gets unblocked 352 # Pop the frame used to store the thread's initial data
|
H A D | hppa.s | 16 ; and thread startup. It was written in 1994 by Uwe Reder 41 ; arg3: sp of new thread. 172 ; with garbage arguments. The thread creator provided non-garbage for
|
/gem5/src/cpu/ |
H A D | base_dyn_inst_impl.hh | 67 thread(nullptr),
|
H A D | BaseCPU.py | 155 numThreads = Param.Unsigned(1, "number of HW thread contexts") 160 "to the OFF power state after all thread are disabled for "\ 196 "terminate when any thread reaches this inst count") 202 "terminate when any thread reaches this load count") 285 "match thread count") 292 def createPhandleKey(self, thread): 294 # certain thread 295 return 'CPU-%d-%d-%d' % (self.socket_id, self.cpu_id, thread) 299 """Generate cpu nodes for each thread and the corresponding part of the
|
/gem5/src/arch/alpha/ |
H A D | ev5.cc | 90 cpu->thread->setIntReg(ZeroReg, 0); 91 cpu->thread->setFloatReg(ZeroReg, 0);
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest-port_test.cc | 335 // The OS may not immediately report the updated thread count after 336 // joining a thread, causing flakiness in this test. To counter that, we 1029 ThreadWithParam<int*> thread(&AddTwo, &i, NULL); 1030 thread.Join(); 1042 "thread .*hold"); 1101 // Tests that the mutex only lets one thread at a time to lock it. 1123 // If the mutex lets more than one thread to increment the counter at a 1132 ThreadWithParam<T> thread(func, param, NULL); 1133 thread.Join(); 1232 // Tests that when a ThreadLocal object dies in a thread, i [all...] |
H A D | gtest_unittest.cc | 1140 ThreadWithParam<FailureMode> thread(&AddFailure, failure, NULL); 1141 thread.Join(); 1189 // failures generated on another thread. 1278 // non-fatal failures generated on another thread.
|
/gem5/src/cpu/o3/ |
H A D | lsq_unit_impl.hh | 200 return iewStage->name() + ".lsq.thread" + std::to_string(lsqID); 380 bool no_squash = cpu->thread[x]->noSquashFromTC; 381 cpu->thread[x]->noSquashFromTC = true; 383 cpu->thread[x]->noSquashFromTC = no_squash; 821 ThreadContext *thread = cpu->tcBase(lsqID); local 825 req->handleIprWrite(thread, main_pkt);
|
H A D | fetch_impl.hh | 237 .desc("Number of stall cycles due to no active thread to fetch from") 638 cpu->thread[tid]->contextId()); 647 cpu->itb->translateTiming(mem_req, cpu->thread[tid]->getTC(), 732 // Send the fault to commit. This thread will not do anything 786 // Get rid of the retrying packet if it was from this thread. 912 // Check the signals for each thread to determine the proper status 913 // for each thread. 962 // Pick a random thread to start trying to grab instructions from 1001 // Update the per thread stall statuses. 1118 instruction->setThreadState(cpu->thread[ti 1468 list<ThreadID>::iterator thread = activeThreads->begin(); local [all...] |
H A D | cpu.hh | 236 /** Setup CPU to insert a thread's context */ 239 /** Remove all of a thread's context from CPU */ 271 /** Is the thread trying to exit? */ 275 * If a thread is trying to exit and its corresponding trap event 276 * has been completed, schedule an event to terminate the thread. 297 * Commit has reached a safe point to drain a thread. 482 /** Sets the commit PC state of a specific thread. */ 485 /** Reads the commit PC state of a specific thread. */ 488 /** Reads the commit PC of a specific thread. */ 491 /** Reads the commit micro PC of a specific thread 696 std::vector<Thread *> thread; member in class:FullO3CPU [all...] |
H A D | commit.hh | 64 * many instructions. The SMT policy decides which thread it tries to 113 /** Individual thread status. */ 128 /** Per-thread status. */ 139 /** Mark the thread as processing a trap. */ 190 /** Clear all thread-specific states */ 205 /** Takes over from another CPU's thread. */ 208 /** Deschedules a thread from scheduling */ 219 /** Returns the number of free ROB entries for a specific thread. */ 266 * <li>Immediately set the commit status of the thread of 267 * SquashAfterPending. This forces the thread t 365 std::vector<Thread *> thread; member in class:DefaultCommit [all...] |
H A D | lsq_unit.hh | 70 * thread. Both are circular queues; load entries are freed upon 242 /** Takes over from another CPU's thread. */ 471 /** The LSQUnit thread id. */ 667 ThreadContext *thread = cpu->tcBase(lsqID); local 672 Cycles delay = req->handleIprRead(thread, main_pkt);
|
/gem5/ext/systemc/src/sysc/qt/ |
H A D | config | 354 : Posix thread support rather than Quick threads.
|
/gem5/ext/pybind11/tests/ |
H A D | test_virtual_functions.cpp | 13 #include <thread> 179 std::thread t(test_gil); 476 // Fix issue #1454 (crash when acquiring/releasing GIL on another thread in Python 2.7)
|
/gem5/src/cpu/kvm/ |
H A D | base.hh | 73 * overriding tick() and checking the thread context before entering 127 * Send a signal to the thread owning this vCPU to get it to exit 133 * A cached copy of a thread's state in the form of a SimpleThread 136 * Normally the actual thread state is stored in the KVM vCPU. If KVM has 141 * be used within a KVM CPU to update the thread context if the 145 SimpleThread *thread; member in class:BaseKvmCPU 148 * objects to modify this thread's state. 273 * the thread, which leads to a transition to the Idle state. In 396 * Update the KVM state from the current thread context 406 * Update the current thread contex [all...] |
H A D | x86_cpu.cc | 1138 // Migrate to the interrupt controller's thread to get the 1159 // that we need to halt the thread and wait for a startup 1160 // interrupt before restarting the thread. The simulated CPUs 1162 thread->suspend(); 1198 // the thread context and check if there are /really/
|
/gem5/src/dev/net/ |
H A D | dist_iface.cc | 47 #include <thread> 231 // Notify the simulation thread if the on-going sync is complete 236 // The receive thread must keep alive in the switch until the node 260 // Notify the simulation thread if the on-going sync is complete 265 // The receive thread must finish when simulation is about to exit 383 * by only exactly one thread. 386 * We hold the eventq lock at this point but the receiver thread may 414 // Wake up thread contexts on non-switch nodes. 421 warn_once("Tried to wake up thread in dist-gem5, but it " 435 // This is called from the receiver thread whe [all...] |
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-port.cc | 247 // Static mutexes are leaked intentionally. It is not thread-safe to try 268 // caller's responsibility to ensure that the current thread holds the 274 // Does nothing if the current thread holds the mutex. Otherwise, crashes 279 << "The current thread is not holding the mutex @" << this; 306 // Possibly yields the rest of the thread's time slice to other 387 << "Failed to join the thread with error " << ::GetLastError() << "."; 390 // Maps a thread to a set of ThreadIdToThreadLocals that have values 391 // instantiated on that thread and notifies them when the thread exits. A 396 // Registers thread_local_instance as having value on the current thread 495 HANDLE thread = ::OpenThread(SYNCHRONIZE | THREAD_QUERY_INFORMATION, local [all...] |
/gem5/src/cpu/checker/ |
H A D | thread_context.hh | 76 : actualTC(actual_tc), checkerTC(checker_cpu->thread), 86 * thread's state. */ 108 /** Returns this thread's ID number. */ 388 /** Reads this thread's PC state. */ 391 /** Sets this thread's PC state. */ 415 /** Reads this thread's PC. */ 418 /** Reads this thread's next PC. */ 421 /** Reads this thread's next PC. */
|
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 175 // GTEST_IS_THREADSAFE - Google Test is thread-safe. 1462 // Allows a controller thread to pause execution of newly created 1464 // and destroyed in the controller thread. 1478 // be called from the controller thread. 1485 // Blocks until the controller thread notifies. Must be called from a test 1486 // thread. 1537 // Allows a controller thread to pause execution of newly created 1539 // and destroyed in the controller thread. 1578 extern "C" inline void* ThreadFuncWithCLinkage(void* thread) { argument 1579 static_cast<ThreadWithParamBase*>(thread) [all...] |