Lines Matching refs:tid
73 for (ThreadID tid = 0; tid < params.numThreads; tid++) {
76 name + ".inputBuffer" + std::to_string(tid), "insts",
82 Decode::getInput(ThreadID tid)
85 if (!inputBuffer[tid].empty()) {
86 const ForwardInstData &head = inputBuffer[tid].front();
88 return (head.isBubble() ? NULL : &(inputBuffer[tid].front()));
95 Decode::popInput(ThreadID tid)
97 if (!inputBuffer[tid].empty())
98 inputBuffer[tid].pop();
100 decodeInfo[tid].inputIndex = 0;
101 decodeInfo[tid].inMacroop = false;
134 for (ThreadID tid = 0; tid < cpu.numThreads; tid++)
135 decodeInfo[tid].blocked = !nextStageReserve[tid].canReserve();
137 ThreadID tid = getScheduledThread();
139 if (tid != InvalidThreadID) {
140 DecodeThreadInfo &decode_info = decodeInfo[tid];
141 const ForwardInstData *insts_in = getInput(tid);
254 popInput(tid);
259 insts_in = getInput(tid);
277 insts_out.threadId = tid;
278 nextStageReserve[tid].reserve();
316 for (auto tid : priority_list) {
317 if (getInput(tid) && !decodeInfo[tid].blocked) {
318 threadPriority = tid;
319 return tid;