1/* 2 * Copyright (c) 2011-2012 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 9 * to a hardware implementation of the functionality of the software 10 * licensed hereunder. You may use the software subject to the license 11 * terms below provided that you ensure that this notice is replicated --- 188 unchanged lines hidden (view full) --- 200 { return thread[tid].numLoads(); } 201 202 /** Returns the total number of stores in the store queue. */ 203 int numStores(); 204 /** Returns the total number of stores for a single thread. */ 205 int numStores(ThreadID tid) 206 { return thread[tid].numStores(); } 207 |
208 /** Returns the number of free load entries. */ 209 unsigned numFreeLoadEntries(); 210 211 /** Returns the number of free store entries. */ 212 unsigned numFreeStoreEntries(); 213 |
214 /** Returns the number of free entries for a specific thread. */ 215 unsigned numFreeEntries(ThreadID tid); 216 |
217 /** Returns the number of free entries in the LQ for a specific thread. */ 218 unsigned numFreeLoadEntries(ThreadID tid); 219 220 /** Returns the number of free entries in the SQ for a specific thread. */ 221 unsigned numFreeStoreEntries(ThreadID tid); 222 |
223 /** Returns if the LSQ is full (either LQ or SQ is full). */ 224 bool isFull(); 225 /** 226 * Returns if the LSQ is full for a specific thread (either LQ or SQ is 227 * full). 228 */ 229 bool isFull(ThreadID tid); 230 --- 147 unchanged lines hidden --- |