Searched refs:thread (Results 26 - 50 of 95) sorted by relevance

1234

/gem5/src/systemc/tests/systemc/kernel/sc_process_b/test03/
H A Dtest03.cpp51 void thread() { function
64 SC_CTHREAD(thread,m_clk.pos());
66 cout << name() << ".thread " << thread_handle.proc_kind() << endl;
/gem5/src/arch/arm/tracers/
H A Dtarmac_record_v8.cc56 const auto thread = tarmCtx.thread; local
59 ArmISA::TLB* dtb = static_cast<TLB*>(thread->getDTBPtr());
60 paddrValid = dtb->translateFunctional(thread, addr, paddr);
70 const auto thread = tarmCtx.thread; local
73 ArmISA::TLB* dtb = static_cast<TLB*>(thread->getDTBPtr());
74 dtb->translateFunctional(thread, addr, paddr);
H A Dtarmac_tracer.hh67 : thread(_thread), staticInst(_staticInst), pc(_pc)
73 ThreadContext* thread; member in class:Trace::TarmacContext
H A Dtarmac_base.cc63 ThreadContext* thread,
76 const CPSR cpsr = thread->readMiscRegNoEffect(MISCREG_CPSR);
62 InstEntry( ThreadContext* thread, PCState pc, const StaticInstPtr staticInst, bool predicate) argument
H A Dtarmac_parser.cc646 value_lo = thread->readIntReg(it->index);
650 value_lo = thread->readFloatReg(it->index * 4);
652 value_lo = thread->readFloatReg(it->index);
656 value_lo = thread->readFloatReg(it->index * 4) |
657 (uint64_t) thread->readFloatReg(it->index * 4 + 1) <<
660 value_lo = thread->readFloatReg(it->index * 2) |
661 (uint64_t) thread->readFloatReg(it->index * 2 + 1) <<
667 value_lo = thread->readFloatReg(it->index * 4) |
668 (uint64_t) thread->readFloatReg(it->index * 4 + 1) <<
670 value_hi = thread
[all...]
/gem5/src/cpu/simple/
H A Datomic.cc140 TheISA::handleLockedSnoop(threadInfo[tid]->thread,
161 if (threadInfo[tid]->thread->status() == ThreadContext::Active) {
233 Cycles delta = ticksToCycles(threadInfo[thread_num]->thread->lastActivate -
234 threadInfo[thread_num]->thread->lastSuspend);
306 TheISA::handleLockedSnoop(t_info->thread, pkt, cacheBlockMask);
332 TheISA::handleLockedSnoop(t_info->thread, pkt, cacheBlockMask);
344 Addr inst_addr = threadInfo[curThread]->thread->pcState().instAddr();
377 SimpleThread* thread = t_info.thread;
401 fault = thread
[all...]
H A Dtiming.cc135 if (threadInfo[tid]->thread->status() == ThreadContext::Active) {
177 M5_VAR_USED SimpleThread* thread = t_info.thread; local
184 assert(thread->microPC() == 0);
262 SimpleThread* thread = t_info.thread;
269 TheISA::handleLockedRead(thread, pkt->req);
272 Cycles delay = TheISA::handleIprRead(thread->getTC(), pkt);
292 SimpleThread* thread = t_info.thread;
[all...]
/gem5/src/cpu/o3/
H A Dlsq_impl.hh104 thread.reserve(numThreads);
106 thread.emplace_back(maxLQEntries, maxSQEntries);
107 thread[tid].init(cpu, iew_ptr, params, this, tid);
108 thread[tid].setDcachePort(&dcachePort);
126 thread[tid].regStats();
145 thread[tid].drainSanityCheck();
175 thread[tid].takeOverFrom();
236 thread[tid].insertLoad(load_inst);
245 thread[tid].insertStore(store_inst);
254 return thread[ti
[all...]
H A Dlsq.hh554 virtual void handleIprWrite(ThreadContext *thread, PacketPtr pkt) = 0;
555 virtual Cycles handleIprRead(ThreadContext *thread, PacketPtr pkt) = 0;
736 virtual void handleIprWrite(ThreadContext *thread, PacketPtr pkt);
737 virtual Cycles handleIprRead(ThreadContext *thread, PacketPtr pkt);
810 virtual void handleIprWrite(ThreadContext *thread, PacketPtr pkt);
811 virtual Cycles handleIprRead(ThreadContext *thread, PacketPtr pkt);
835 /** Takes over execution from another CPU's thread. */
856 * Commits loads up until the given sequence number for a specific thread.
859 { thread.at(tid).commitLoads(youngest_inst); }
862 * Commits stores up until the given sequence number for a specific thread
1113 std::vector<LSQUnit> thread; member in class:LSQ::LSQRequest
[all...]
H A Dcpu.cc160 thread.resize(numThreads);
308 // Setup any thread state.
309 this->thread.resize(this->numThreads);
315 this->thread[tid] = new Thread(this, 0, NULL);
319 tid, this->thread[tid]);
320 this->thread[tid] = new typename FullO3CPU<Impl>::Thread(
327 //Allocate Empty thread so M5 can use later
331 this->thread[tid] = new typename FullO3CPU<Impl>::Thread(
354 o3_tc->thread = this->thread[ti
[all...]
/gem5/src/systemc/tests/systemc/compliance_1666/test001/
H A Dtest001.cpp29 SC_THREAD(thread); //// Registering the same function multiple times DOULOS046
32 SC_THREAD(thread);
33 SC_THREAD(thread); //// Compile-time error - 'threadhandle' redefinition
41 void thread(void) { function
158 sc_assert(std::string(sc_get_current_process_handle().get_process_object()->basename()) == "thread");
188 SC_THREAD(thread);
190 void thread();
204 SC_THREAD(thread);
207 void thread();
211 void Moda::thread() function in class:Moda
218 void Modb::thread() function in class:Modb
[all...]
/gem5/src/sim/
H A Dsimulate.cc37 #include <thread>
60 * other than the main thread). These threads start by waiting on
86 // create a thread for each of event queues referenced by the
89 static std::vector<std::thread *> threads;
94 // the main thread (the one we're currently running on)
98 threads.push_back(new std::thread(thread_loop, mainEventQueue[i]));
129 // barrier; the arrival of the main thread here will satisfy the
156 * flag is cleared, only one thread returns true (and thus is assigned
175 * The main per-thread simulation loop. This loop is executed by all
176 * simulation threads (the main thread an
[all...]
/gem5/src/cpu/checker/
H A Dcpu.cc70 tc(NULL), thread(NULL),
106 thread = new SimpleThread(this, 0, systemPtr, itb, dtb,
109 thread = new SimpleThread(this, 0, systemPtr,
114 tc = thread->getTC();
116 thread->kernelStats = NULL;
118 assert(thread != NULL);
163 flags, masterId, thread->pcState().instAddr(),
169 flags, masterId, thread->pcState().instAddr(),
390 curTick(), thread->pcState());
/gem5/src/cpu/minor/
H A Dexecute.cc169 /* Per-thread structures */
218 ThreadContext *thread = cpu.getContext(inst->id.threadId); local
220 TheISA::PCState target = thread->pcState();
224 bool force_branch = thread->status() != ThreadContext::Suspended &&
245 thread->pcState(target);
325 ThreadContext *thread = cpu.getContext(thread_id); local
354 fault->invoke(thread, inst->staticInst);
386 fault->invoke(thread, inst->staticInst);
461 ThreadContext *thread = cpu.getContext(inst->id.threadId); local
462 TheISA::PCState old_pc = thread
546 ExecuteThreadInfo &thread = executeInfo[thread_id]; local
837 ThreadContext *thread = cpu.getContext(thread_id); local
861 MinorThread *thread = cpu.threads[inst->id.threadId]; local
895 ThreadContext *thread = cpu.getContext(thread_id); local
1119 ThreadContext *thread = cpu.getContext(thread_id); local
1245 ThreadContext *thread = cpu.getContext(thread_id); local
[all...]
H A Dfetch2.cc84 /* Per-thread input buffers */
190 Fetch2ThreadInfo &thread = fetchInfo[inst->id.threadId]; local
220 thread.expectedStreamSeqNum = inst->id.streamSeqNum;
224 inst->id.streamSeqNum, thread.predictionSeqNum + 1,
229 thread.predictionSeqNum++;
234 *inst, inst->predictedTarget, thread.predictionSeqNum);
268 Fetch2ThreadInfo &thread = fetchInfo[tid]; local
270 thread.blocked = !nextStageReserve[tid].canReserve();
275 thread.expectedStreamSeqNum == line_in->id.streamSeqNum &&
276 thread
314 ThreadContext *thread = cpu.getContext(line_in->id.threadId); local
[all...]
/gem5/src/systemc/tests/systemc/communication/sc_port_policy/test01/
H A Dtest01.cpp48 SC_CTHREAD(thread, m_clk.pos());
50 void thread() function
/gem5/src/systemc/tests/systemc/communication/sc_port_policy/test02/
H A Dtest02.cpp48 SC_CTHREAD(thread, m_clk.pos());
50 void thread() function
/gem5/src/systemc/tests/systemc/communication/sc_port_policy/test03/
H A Dtest03.cpp48 SC_CTHREAD(thread, m_clk.pos());
50 void thread() function
/gem5/src/systemc/tests/systemc/communication/sc_port_policy/test04/
H A Dtest04.cpp48 SC_CTHREAD(thread, m_clk.pos());
50 void thread() function
/gem5/src/systemc/tests/systemc/communication/sc_port_policy/test05/
H A Dtest05.cpp51 SC_CTHREAD(thread,m_clk.pos());
64 void thread() function
/gem5/src/systemc/tests/systemc/kernel/process_control/test08/
H A Dtest08.cpp60 SC_THREAD(thread);
63 void thread() function
/gem5/src/systemc/tests/systemc/kernel/sc_start/sc_start_0/test2/
H A Dtest2.cpp44 SC_THREAD(thread)
78 void thread() function
82 cout << sc_time_stamp() << " " << sc_delta_count() << " thread"
/gem5/src/cpu/
H A Dexetrace.cc77 bool in_user_mode = TheISA::inUserMode(thread);
85 outs << thread->getCpuPtr()->name() << " ";
88 outs << "A" << dec << TheISA::getExecutingAsid(thread) << " ";
91 outs << "T" << thread->threadId() << " : ";
97 (!FullSystem || !inUserMode(thread)) &&
/gem5/src/cpu/simple/probes/
H A Dsimpoint.cc80 SimpleThread* thread = p.first; local
87 currentBBV.first = thread->pcState().instAddr();
94 currentBBV.second = thread->pcState().instAddr();
/gem5/src/systemc/tests/systemc/examples/isqrt/
H A Disqrt.cpp16 void thread();
20 SC_CTHREAD(thread, CLK.pos());
26 isq::thread() function in class:isq

Completed in 37 milliseconds

1234