fu_pool.hh (9184:a1a8f137b796) | fu_pool.hh (9444:ab47fe7f03f0) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated 11 * unmodified and in its entirety in all distributions of the software, 12 * modified or unmodified, in source code or in binary form. 13 * |
|
2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; 9 * redistributions in binary form must reproduce the above copyright --- 142 unchanged lines hidden (view full) --- 152 return maxOpLatencies[capability]; 153 } 154 155 /** Returns the issue latency of the given capability. */ 156 Cycles getIssueLatency(OpClass capability) { 157 return maxIssueLatencies[capability]; 158 } 159 | 14 * Copyright (c) 2006 The Regents of The University of Michigan 15 * All rights reserved. 16 * 17 * Redistribution and use in source and binary forms, with or without 18 * modification, are permitted provided that the following conditions are 19 * met: redistributions of source code must retain the above copyright 20 * notice, this list of conditions and the following disclaimer; 21 * redistributions in binary form must reproduce the above copyright --- 142 unchanged lines hidden (view full) --- 164 return maxOpLatencies[capability]; 165 } 166 167 /** Returns the issue latency of the given capability. */ 168 Cycles getIssueLatency(OpClass capability) { 169 return maxIssueLatencies[capability]; 170 } 171 |
160 /** Switches out functional unit pool. */ 161 void switchOut(); | 172 /** Perform sanity checks after a drain. */ 173 void drainSanityCheck() const; |
162 163 /** Takes over from another CPU's thread. */ | 174 175 /** Takes over from another CPU's thread. */ |
164 void takeOver(); | 176 void takeOverFrom() {}; |
165}; 166 167#endif // __CPU_O3_FU_POOL_HH__ | 177}; 178 179#endif // __CPU_O3_FU_POOL_HH__ |