Lines Matching defs:tid

161     for (ThreadID tid = 0; tid < numThreads; ++tid)
162 comInstEventQueue[tid] =
170 for (ThreadID tid = 0; tid < numThreads; ++tid)
171 scheduleInstStop(tid, p->max_insts_any_thread, cause);
192 for (ThreadID tid = 0; tid < numThreads; ++tid) {
194 comInstEventQueue[tid]->schedule(event, p->max_insts_all_threads);
200 for (ThreadID tid = 0; tid < numThreads; ++tid)
201 comLoadEventQueue[tid] = new EventQueue("load-based event queue");
208 for (ThreadID tid = 0; tid < numThreads; ++tid)
209 scheduleLoadStop(tid, p->max_loads_any_thread, cause);
219 for (ThreadID tid = 0; tid < numThreads; ++tid) {
221 comLoadEventQueue[tid]->schedule(event, p->max_loads_all_threads);
249 for (ThreadID tid = 0; tid < numThreads; tid++)
250 interrupts[tid]->setCPU(this);
281 BaseCPU::armMonitor(ThreadID tid, Addr address)
283 assert(tid < numThreads);
284 AddressMonitor &monitor = addressMonitor[tid];
289 DPRINTF(Mwait,"[tid:%d] Armed monitor (vAddr=0x%lx)\n", tid, address);
293 BaseCPU::mwait(ThreadID tid, PacketPtr pkt)
295 assert(tid < numThreads);
296 AddressMonitor &monitor = addressMonitor[tid];
306 DPRINTF(Mwait,"[tid:%d] mwait called (vAddr=0x%lx, "
307 "line's paddr=0x%lx)\n", tid, monitor.vAddr, monitor.pAddr);
316 BaseCPU::mwaitAtomic(ThreadID tid, ThreadContext *tc, BaseTLB *dtb)
318 assert(tid < numThreads);
319 AddressMonitor &monitor = addressMonitor[tid];
343 DPRINTF(Mwait,"[tid:%d] mwait called (vAddr=0x%lx, line's paddr=0x%lx)\n",
344 tid, monitor.vAddr, monitor.pAddr);
474 for (ThreadID tid = 0; tid < size; ++tid) {
475 ThreadContext *tc = threadContexts[tid];
517 for (ThreadID tid = 0; tid < size; ++tid) {
518 if (tc == threadContexts[tid])
519 return tid;
664 for (ThreadID tid = 0; tid < numThreads; tid++) {
665 interrupts[tid]->setCPU(this);
751 BaseCPU::scheduleInstStop(ThreadID tid, Counter insts, const char *cause)
753 const Tick now(comInstEventQueue[tid]->getCurTick());
756 comInstEventQueue[tid]->schedule(event, now + insts);
760 BaseCPU::getCurrentInstCount(ThreadID tid)
762 return Tick(comInstEventQueue[tid]->getCurTick());
785 BaseCPU::scheduleLoadStop(ThreadID tid, Counter loads, const char *cause)
787 const Tick now(comLoadEventQueue[tid]->getCurTick());
790 comLoadEventQueue[tid]->schedule(event, now + loads);