/gem5/src/systemc/tests/tlm/cancel_all/ |
H A D | cancel_all.cpp | 18 SC_THREAD(thread); 21 void thread() function 85 SC_THREAD(thread); 89 void thread() function
|
/gem5/src/arch/arm/tracers/ |
H A D | tarmac_tracer.cc | 52 auto id = thread->getCpuPtr()->cpuId();
|
H A D | tarmac_parser.hh | 81 /** Current thread context. */ 82 ThreadContext* thread; member in struct:Trace::TarmacParserRecord::TarmacParserRecordEvent 101 parent(_parent), thread(_thread), inst(_inst), pc(_pc),
|
H A D | tarmac_base.hh | 87 InstEntry(ThreadContext* thread,
|
/gem5/src/cpu/minor/ |
H A D | cpu.cc | 54 /* This is only written for one thread at the moment */ 55 Minor::MinorThread *thread; local 59 thread = new Minor::MinorThread(this, i, params->system, 61 thread->setStatus(ThreadContext::Halted); 63 thread = new Minor::MinorThread(this, i, params->system, 68 threads.push_back(thread); 69 ThreadContext *tc = thread->getTC(); 162 /* Note that this gives you the translation for thread 0 */ 282 DPRINTF(MinorCPU, "ActivateContext thread: %d\n", thread_id); 290 /* Wake up the thread, wakeu [all...] |
H A D | lsq.cc | 80 SimpleThread &thread = *port.cpu.threads[inst->id.threadId]; local 81 TheISA::PCState old_pc = thread.pcState(); 82 ExecContext context(port.cpu, thread, port.execute, inst); 93 thread.pcState(old_pc); 102 SimpleThread &thread = *port.cpu.threads[inst->id.threadId]; local 103 TheISA::PCState old_pc = thread.pcState(); 105 ExecContext context(port.cpu, thread, port.execute, inst); 110 thread.pcState(old_pc); 295 ThreadContext *thread = port.cpu.getContext( local 309 thread 705 ThreadContext *thread = port.cpu.getContext( local 1120 SimpleThread &thread = *cpu.threads[request->inst->id.threadId]; local 1182 ThreadContext *thread = local [all...] |
/gem5/src/cpu/o3/ |
H A D | commit_impl.hh | 278 thread = threads; 541 thread[tid]->trapPending = true; 561 // all instructions of this thread. 598 thread[tid]->trapPending = false; 599 thread[tid]->noSquashFromTC = false; 616 thread[tid]->noSquashFromTC = false; 617 assert(!thread[tid]->trapPending); 673 // Clear the bit saying if the thread has committed stores 758 assert(!thread[0]->noSquashFromTC); 759 thread[ [all...] |
H A D | dyn_inst.hh | 200 bool no_squash_from_TC = this->thread->noSquashFromTC; 201 this->thread->noSquashFromTC = true; 207 this->thread->noSquashFromTC = no_squash_from_TC;
|
/gem5/util/streamline/ |
H A D | m5stats2streamline.py | 428 # - thread id: packed32 569 thread = Task(uid, 9999, 9999, "framebuffer", False, 0) 570 process.children.append(thread) 577 thread = Task(uid, 9998, 9998, "System", False, 0) 578 process.children.append(thread) 653 print "new thread", \ 655 thread = Task(uid, pid, tgid, task_name, False, tick) 657 thread_dict[pid] = thread 658 process_dict[tgid].children.append(thread) 681 for thread i [all...] |
/gem5/src/cpu/ |
H A D | timing_expr.cc | 47 inst(inst_), thread(thread_), let(let_) 66 return context.thread->readIntReg(reg->eval(context)); 72 context.thread, this);
|
H A D | base_dyn_inst.hh | 124 ThreadsyncWait, /// Is a thread synchronization instruction 161 /** Pointer to the thread state. */ 162 ImplState *thread; member in class:BaseDynInst 193 /** The thread this instruction is from. */ 453 ContextID contextId() const { return thread->contextId(); } 915 /** Sets the thread id. */ 918 /** Sets the pointer to the thread state. */ 919 void setThreadState(ImplState *state) { thread = state; } 921 /** Returns the thread context. */ 922 ThreadContext *tcBase() { return thread [all...] |
H A D | timing_expr.hh | 77 ThreadContext *thread; member in class:TimingExprEvalContext
|
H A D | inst_pb_trace.cc | 63 tracer.traceInst(thread, staticInst, pc);
|
/gem5/src/sim/ |
H A D | insttracer.hh | 65 ThreadContext *thread; member in class:Trace::InstRecord 154 : when(_when), thread(_thread), staticInst(_staticInst), pc(_pc), 228 ThreadContext *getThread() const { return thread; }
|
/gem5/ext/pybind11/tests/test_embed/ |
H A D | test_interpreter.cpp | 11 #include <thread> 221 auto threads = std::vector<std::thread>(); 229 for (auto &thread : threads) { 230 thread.join();
|
/gem5/src/cpu/kvm/ |
H A D | base.cc | 89 thread = new SimpleThread(this, 0, params->system, params->itb, params->dtb, 92 thread = new SimpleThread(this, /* thread_num */ 0, params->system, 96 thread->setStatus(ThreadContext::Halted); 97 tc = thread->getTC(); 165 thread->startup(); 243 // Do thread-specific initialization. We need to setup signal 244 // delivery for counters and timers from within the thread that 332 DPRINTF(Checkpoint, "KVM: Serializing thread %i:\n", tid); 338 thread->serialize(cp); 344 DPRINTF(Checkpoint, "KVM: Unserialize thread [all...] |
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_stress_test.cc | 58 // thread safe, implement ThreadWithParam. See the description of its API 110 // This assertion should fail kThreadCount times per thread. It 154 << "String and int values recorded on each thread, " 165 FAIL() << "Fatal failure in some other thread. " 168 ADD_FAILURE() << "Non-fatal failure in some other thread. " 173 ThreadWithParam<bool> thread(&FailingThread, is_fatal, NULL); 174 thread.Join(); 198 // This statement should fail, since the current thread doesn't generate a 216 // This statement should fail, since the current thread doesn't generate a
|
H A D | gtest_output_test_.cc | 252 // SCOPED_TRACE()s in its own thread only. 258 // spawns thread B | 277 // waits for thread B to finish | 289 << "Expected failure #1 (in thread B, only trace B alive)."; 294 << "Expected failure #3 (in thread B, trace A & B both alive)."; 297 << "Expected failure #4 (in thread B, only trace A alive)."; 305 ThreadWithParam<CheckPoints*> thread(&ThreadWithScopedTrace, 313 << "Expected failure #2 (in thread A, trace A & B both alive)."; 318 << "Expected failure #5 (in thread A, only trace A alive)."; 321 << "Expected failure #6 (in thread [all...] |
/gem5/src/arch/mips/ |
H A D | utility.cc | 227 cpu->thread->setIntReg(ZeroReg, 0); 228 cpu->thread->setFloatReg(ZeroReg, 0);
|
/gem5/src/systemc/tests/systemc/examples/trie/ |
H A D | trie.cpp | 19 void thread(); 27 SC_CTHREAD(thread, CLK.pos()); 43 lc::thread() function in class:lc
|
/gem5/src/cpu/simple/ |
H A D | timing.hh | 355 SimpleThread* thread = t_info.thread; local 357 return thread->microPC() == 0 && !t_info.stayAtPC &&
|
H A D | atomic.hh | 94 return t_info.thread->microPC() == 0 && 182 /** Perform snoop for other cpu-local thread contexts. */
|
/gem5/ext/testlib/ |
H A D | handlers.py | 358 # Create thread to spin handing recipt of messages 390 self.thread = threading.Thread(target=self.process) 391 self.thread.daemon = True 392 self.thread.start() 425 if hasattr(self, 'thread'): 426 self.thread.join()
|
/gem5/src/dev/net/ |
H A D | dist_iface.hh | 55 * operation is always performed by the simulation thread, i.e. the gem5 56 * thread that is processing the event queue associated with the simulated 59 * 2. Spawn a receiver thread to process messages coming in from the 61 * associated receiver thread. The receiver thread saves the incoming packet 83 #include <thread> 126 * Condition variable for the simulation thread to wait on 179 * Callback when the receiver thread gets a sync ack message. 181 * @return false if the receiver thread needs to stop (e.g. 294 * 3. Simulation thread( [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_callbacks.cpp | 13 #include <thread> 154 // make detached thread that calls `f` with piece of work after a little delay 160 auto t = std::thread(std::move(invoke_f));
|