Lines Matching defs:tid

105     for (ThreadID tid = 0; tid < numThreads; tid++) {
107 thread[tid].init(cpu, iew_ptr, params, this, tid);
108 thread[tid].setDcachePort(&dcachePort);
125 for (ThreadID tid = 0; tid < numThreads; tid++) {
126 thread[tid].regStats();
144 for (ThreadID tid = 0; tid < numThreads; tid++)
145 thread[tid].drainSanityCheck();
174 for (ThreadID tid = 0; tid < numThreads; tid++) {
175 thread[tid].takeOverFrom();
234 ThreadID tid = load_inst->threadNumber;
236 thread[tid].insertLoad(load_inst);
243 ThreadID tid = store_inst->threadNumber;
245 thread[tid].insertStore(store_inst);
252 ThreadID tid = inst->threadNumber;
254 return thread[tid].executeLoad(inst);
261 ThreadID tid = inst->threadNumber;
263 return thread[tid].executeStore(inst);
274 ThreadID tid = *threads++;
276 if (numStoresToWB(tid) > 0) {
277 DPRINTF(Writeback,"[tid:%i] Writing back stores. %i stores "
278 "available for Writeback.\n", tid, numStoresToWB(tid));
281 thread[tid].writebackStores();
294 ThreadID tid = *threads++;
296 if (thread[tid].violation())
310 for (ThreadID tid : *activeThreads) {
311 thread[tid].recvRetry();
352 for (ThreadID tid = 0; tid < numThreads; tid++) {
353 thread[tid].checkSnoop(pkt);
373 for (ThreadID tid = 0; tid < numThreads; tid++) {
374 thread[tid].checkSnoop(pkt);
389 ThreadID tid = *threads++;
391 total += getCount(tid);
407 ThreadID tid = *threads++;
409 total += numLoads(tid);
425 ThreadID tid = *threads++;
427 total += thread[tid].numStores();
443 ThreadID tid = *threads++;
445 total += thread[tid].numFreeLoadEntries();
461 ThreadID tid = *threads++;
463 total += thread[tid].numFreeStoreEntries();
471 LSQ<Impl>::numFreeLoadEntries(ThreadID tid)
473 return thread[tid].numFreeLoadEntries();
478 LSQ<Impl>::numFreeStoreEntries(ThreadID tid)
480 return thread[tid].numFreeStoreEntries();
491 ThreadID tid = *threads++;
493 if (!(thread[tid].lqFull() || thread[tid].sqFull()))
502 LSQ<Impl>::isFull(ThreadID tid)
509 return thread[tid].lqFull() || thread[tid].sqFull();
527 ThreadID tid = *threads++;
529 if (!thread[tid].lqEmpty())
544 ThreadID tid = *threads++;
546 if (!thread[tid].sqEmpty())
561 ThreadID tid = *threads++;
563 if (!thread[tid].lqFull())
572 LSQ<Impl>::lqFull(ThreadID tid)
579 return thread[tid].lqFull();
590 ThreadID tid = *threads++;
592 if (!sqFull(tid))
601 LSQ<Impl>::sqFull(ThreadID tid)
608 return thread[tid].sqFull();
619 ThreadID tid = *threads++;
621 if (!thread[tid].isStalled())
630 LSQ<Impl>::isStalled(ThreadID tid)
635 return thread[tid].isStalled();
646 ThreadID tid = *threads++;
648 if (hasStoresToWB(tid))
663 ThreadID tid = *threads++;
665 if (willWB(tid))
680 ThreadID tid = *threads++;
682 thread[tid].dumpInsts();
698 ThreadID tid = cpu->contextToThread(inst->contextId());
716 req = new SplitDataRequest(&thread[tid], inst, isLoad, addr,
719 req = new SingleDataRequest(&thread[tid], inst, isLoad, addr,
1180 for (ThreadID tid = 0; tid < cpu->numThreads; tid++) {
1181 if (cpu->getCpuAddrMonitor(tid)->doMonitor(pkt)) {
1182 cpu->wakeup(tid);