1/* 2 * Copyright (c) 2010-2013 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 377 unchanged lines hidden (view full) --- 386 if (!insts[tid].empty()) { 387 DPRINTF(Drain, "%i: Insts not empty.\n", tid); 388 drained = false; 389 } 390 if (!skidBuffer[tid].empty()) { 391 DPRINTF(Drain, "%i: Skid buffer not empty.\n", tid); 392 drained = false; 393 } |
394 drained = drained && dispatchStatus[tid] == Running; |
395 } 396 397 // Also check the FU pool as instructions are "stored" in FU 398 // completion events until they are done and not accounted for 399 // above 400 if (drained && !fuPool->isDrained()) { 401 DPRINTF(Drain, "FU pool still busy.\n"); 402 drained = false; --- 1239 unchanged lines hidden --- |