inst_queue.hh revision 4329
11689SN/A/* 22326SN/A * Copyright (c) 2004-2006 The Regents of The University of Michigan 31689SN/A * All rights reserved. 41689SN/A * 51689SN/A * Redistribution and use in source and binary forms, with or without 61689SN/A * modification, are permitted provided that the following conditions are 71689SN/A * met: redistributions of source code must retain the above copyright 81689SN/A * notice, this list of conditions and the following disclaimer; 91689SN/A * redistributions in binary form must reproduce the above copyright 101689SN/A * notice, this list of conditions and the following disclaimer in the 111689SN/A * documentation and/or other materials provided with the distribution; 121689SN/A * neither the name of the copyright holders nor the names of its 131689SN/A * contributors may be used to endorse or promote products derived from 141689SN/A * this software without specific prior written permission. 151689SN/A * 161689SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 171689SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 181689SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 191689SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 201689SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 211689SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 221689SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 231689SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 241689SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 251689SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 261689SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 272665Ssaidi@eecs.umich.edu * 282665Ssaidi@eecs.umich.edu * Authors: Kevin Lim 291689SN/A */ 301689SN/A 312292SN/A#ifndef __CPU_O3_INST_QUEUE_HH__ 322292SN/A#define __CPU_O3_INST_QUEUE_HH__ 331060SN/A 341060SN/A#include <list> 351061SN/A#include <map> 361060SN/A#include <queue> 371061SN/A#include <vector> 381060SN/A 391062SN/A#include "base/statistics.hh" 401060SN/A#include "base/timebuf.hh" 411061SN/A#include "cpu/inst_seq.hh" 422326SN/A#include "cpu/o3/dep_graph.hh" 432669Sktlim@umich.edu#include "cpu/op_class.hh" 441710SN/A#include "sim/host.hh" 451060SN/A 462292SN/Aclass FUPool; 472292SN/Aclass MemInterface; 482292SN/A 491060SN/A/** 501689SN/A * A standard instruction queue class. It holds ready instructions, in 511689SN/A * order, in seperate priority queues to facilitate the scheduling of 521689SN/A * instructions. The IQ uses a separate linked list to track dependencies. 531689SN/A * Similar to the rename map and the free list, it expects that 541060SN/A * floating point registers have their indices start after the integer 551060SN/A * registers (ie with 96 int and 96 fp registers, regs 0-95 are integer 561060SN/A * and 96-191 are fp). This remains true even for both logical and 572292SN/A * physical register indices. The IQ depends on the memory dependence unit to 582292SN/A * track when memory operations are ready in terms of ordering; register 592292SN/A * dependencies are tracked normally. Right now the IQ also handles the 602292SN/A * execution timing; this is mainly to allow back-to-back scheduling without 612292SN/A * requiring IEW to be able to peek into the IQ. At the end of the execution 622292SN/A * latency, the instruction is put into the queue to execute, where it will 632292SN/A * have the execute() function called on it. 642292SN/A * @todo: Make IQ able to handle multiple FU pools. 651060SN/A */ 661061SN/Atemplate <class Impl> 671060SN/Aclass InstructionQueue 681060SN/A{ 691060SN/A public: 701060SN/A //Typedefs from the Impl. 712733Sktlim@umich.edu typedef typename Impl::O3CPU O3CPU; 721061SN/A typedef typename Impl::DynInstPtr DynInstPtr; 731060SN/A typedef typename Impl::Params Params; 741060SN/A 752292SN/A typedef typename Impl::CPUPol::IEW IEW; 761061SN/A typedef typename Impl::CPUPol::MemDepUnit MemDepUnit; 771061SN/A typedef typename Impl::CPUPol::IssueStruct IssueStruct; 781061SN/A typedef typename Impl::CPUPol::TimeStruct TimeStruct; 791060SN/A 802292SN/A // Typedef of iterator through the list of instructions. 811061SN/A typedef typename std::list<DynInstPtr>::iterator ListIt; 821060SN/A 832733Sktlim@umich.edu friend class Impl::O3CPU; 842292SN/A 852292SN/A /** FU completion event class. */ 862292SN/A class FUCompletion : public Event { 872292SN/A private: 882292SN/A /** Executing instruction. */ 892292SN/A DynInstPtr inst; 902292SN/A 912292SN/A /** Index of the FU used for executing. */ 922292SN/A int fuIdx; 932292SN/A 942292SN/A /** Pointer back to the instruction queue. */ 952292SN/A InstructionQueue<Impl> *iqPtr; 962292SN/A 972348SN/A /** Should the FU be added to the list to be freed upon 982348SN/A * completing this event. 992348SN/A */ 1002326SN/A bool freeFU; 1012326SN/A 1022292SN/A public: 1032292SN/A /** Construct a FU completion event. */ 1042292SN/A FUCompletion(DynInstPtr &_inst, int fu_idx, 1052292SN/A InstructionQueue<Impl> *iq_ptr); 1062292SN/A 1072292SN/A virtual void process(); 1082292SN/A virtual const char *description(); 1092326SN/A void setFreeFU() { freeFU = true; } 1101060SN/A }; 1111060SN/A 1122292SN/A /** Constructs an IQ. */ 1134329Sktlim@umich.edu InstructionQueue(O3CPU *cpu_ptr, IEW *iew_ptr, Params *params); 1141061SN/A 1152292SN/A /** Destructs the IQ. */ 1162292SN/A ~InstructionQueue(); 1171061SN/A 1182292SN/A /** Returns the name of the IQ. */ 1192292SN/A std::string name() const; 1201060SN/A 1212292SN/A /** Registers statistics. */ 1221062SN/A void regStats(); 1231062SN/A 1242348SN/A /** Resets all instruction queue state. */ 1252307SN/A void resetState(); 1261060SN/A 1272292SN/A /** Sets active threads list. */ 1282292SN/A void setActiveThreads(std::list<unsigned> *at_ptr); 1292292SN/A 1302292SN/A /** Sets the timer buffer between issue and execute. */ 1311060SN/A void setIssueToExecuteQueue(TimeBuffer<IssueStruct> *i2eQueue); 1321060SN/A 1332292SN/A /** Sets the global time buffer. */ 1341060SN/A void setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr); 1351060SN/A 1362348SN/A /** Switches out the instruction queue. */ 1372307SN/A void switchOut(); 1382307SN/A 1392348SN/A /** Takes over execution from another CPU's thread. */ 1402307SN/A void takeOverFrom(); 1412307SN/A 1422348SN/A /** Returns if the IQ is switched out. */ 1432307SN/A bool isSwitchedOut() { return switchedOut; } 1442307SN/A 1452292SN/A /** Number of entries needed for given amount of threads. */ 1462292SN/A int entryAmount(int num_threads); 1472292SN/A 1482292SN/A /** Resets max entries for all threads. */ 1492292SN/A void resetEntries(); 1502292SN/A 1512292SN/A /** Returns total number of free entries. */ 1521060SN/A unsigned numFreeEntries(); 1531060SN/A 1542292SN/A /** Returns number of free entries for a thread. */ 1552292SN/A unsigned numFreeEntries(unsigned tid); 1562292SN/A 1572292SN/A /** Returns whether or not the IQ is full. */ 1581060SN/A bool isFull(); 1591060SN/A 1602292SN/A /** Returns whether or not the IQ is full for a specific thread. */ 1612292SN/A bool isFull(unsigned tid); 1622292SN/A 1632292SN/A /** Returns if there are any ready instructions in the IQ. */ 1642292SN/A bool hasReadyInsts(); 1652292SN/A 1662292SN/A /** Inserts a new instruction into the IQ. */ 1671061SN/A void insert(DynInstPtr &new_inst); 1681060SN/A 1692292SN/A /** Inserts a new, non-speculative instruction into the IQ. */ 1701061SN/A void insertNonSpec(DynInstPtr &new_inst); 1711061SN/A 1722292SN/A /** Inserts a memory or write barrier into the IQ to make sure 1732292SN/A * loads and stores are ordered properly. 1742292SN/A */ 1752292SN/A void insertBarrier(DynInstPtr &barr_inst); 1761060SN/A 1772348SN/A /** Returns the oldest scheduled instruction, and removes it from 1782348SN/A * the list of instructions waiting to execute. 1792348SN/A */ 1802333SN/A DynInstPtr getInstToExecute(); 1812333SN/A 1822292SN/A /** 1832326SN/A * Records the instruction as the producer of a register without 1842326SN/A * adding it to the rest of the IQ. 1852292SN/A */ 1862326SN/A void recordProducer(DynInstPtr &inst) 1872326SN/A { addToProducers(inst); } 1881755SN/A 1892292SN/A /** Process FU completion event. */ 1902292SN/A void processFUCompletion(DynInstPtr &inst, int fu_idx); 1912292SN/A 1922292SN/A /** 1932292SN/A * Schedules ready instructions, adding the ready ones (oldest first) to 1942292SN/A * the queue to execute. 1952292SN/A */ 1961060SN/A void scheduleReadyInsts(); 1971060SN/A 1982292SN/A /** Schedules a single specific non-speculative instruction. */ 1991061SN/A void scheduleNonSpec(const InstSeqNum &inst); 2001061SN/A 2012292SN/A /** 2022292SN/A * Commits all instructions up to and including the given sequence number, 2032292SN/A * for a specific thread. 2042292SN/A */ 2052292SN/A void commit(const InstSeqNum &inst, unsigned tid = 0); 2061061SN/A 2072292SN/A /** Wakes all dependents of a completed instruction. */ 2082301SN/A int wakeDependents(DynInstPtr &completed_inst); 2091755SN/A 2102292SN/A /** Adds a ready memory instruction to the ready list. */ 2112292SN/A void addReadyMemInst(DynInstPtr &ready_inst); 2122292SN/A 2132292SN/A /** 2142292SN/A * Reschedules a memory instruction. It will be ready to issue once 2152292SN/A * replayMemInst() is called. 2162292SN/A */ 2172292SN/A void rescheduleMemInst(DynInstPtr &resched_inst); 2182292SN/A 2192292SN/A /** Replays a memory instruction. It must be rescheduled first. */ 2202292SN/A void replayMemInst(DynInstPtr &replay_inst); 2212292SN/A 2222292SN/A /** Completes a memory operation. */ 2232292SN/A void completeMemInst(DynInstPtr &completed_inst); 2242292SN/A 2252292SN/A /** Indicates an ordering violation between a store and a load. */ 2261061SN/A void violation(DynInstPtr &store, DynInstPtr &faulting_load); 2271061SN/A 2282292SN/A /** 2292292SN/A * Squashes instructions for a thread. Squashing information is obtained 2302292SN/A * from the time buffer. 2312292SN/A */ 2322292SN/A void squash(unsigned tid); 2331060SN/A 2342292SN/A /** Returns the number of used entries for a thread. */ 2352292SN/A unsigned getCount(unsigned tid) { return count[tid]; }; 2361060SN/A 2372292SN/A /** Debug function to print all instructions. */ 2382292SN/A void printInsts(); 2391060SN/A 2401060SN/A private: 2412292SN/A /** Does the actual squashing. */ 2422292SN/A void doSquash(unsigned tid); 2432292SN/A 2442292SN/A ///////////////////////// 2452292SN/A // Various pointers 2462292SN/A ///////////////////////// 2472292SN/A 2481060SN/A /** Pointer to the CPU. */ 2492733Sktlim@umich.edu O3CPU *cpu; 2501060SN/A 2512292SN/A /** Cache interface. */ 2522292SN/A MemInterface *dcacheInterface; 2532292SN/A 2542292SN/A /** Pointer to IEW stage. */ 2552292SN/A IEW *iewStage; 2562292SN/A 2571061SN/A /** The memory dependence unit, which tracks/predicts memory dependences 2581061SN/A * between instructions. 2591061SN/A */ 2602292SN/A MemDepUnit memDepUnit[Impl::MaxThreads]; 2611061SN/A 2621060SN/A /** The queue to the execute stage. Issued instructions will be written 2631060SN/A * into it. 2641060SN/A */ 2651060SN/A TimeBuffer<IssueStruct> *issueToExecuteQueue; 2661060SN/A 2671060SN/A /** The backwards time buffer. */ 2681060SN/A TimeBuffer<TimeStruct> *timeBuffer; 2691060SN/A 2701060SN/A /** Wire to read information from timebuffer. */ 2711060SN/A typename TimeBuffer<TimeStruct>::wire fromCommit; 2721060SN/A 2732292SN/A /** Function unit pool. */ 2742292SN/A FUPool *fuPool; 2752292SN/A 2762292SN/A ////////////////////////////////////// 2772292SN/A // Instruction lists, ready queues, and ordering 2782292SN/A ////////////////////////////////////// 2792292SN/A 2802292SN/A /** List of all the instructions in the IQ (some of which may be issued). */ 2812292SN/A std::list<DynInstPtr> instList[Impl::MaxThreads]; 2822292SN/A 2832348SN/A /** List of instructions that are ready to be executed. */ 2842333SN/A std::list<DynInstPtr> instsToExecute; 2852333SN/A 2862292SN/A /** 2872348SN/A * Struct for comparing entries to be added to the priority queue. 2882348SN/A * This gives reverse ordering to the instructions in terms of 2892348SN/A * sequence numbers: the instructions with smaller sequence 2902348SN/A * numbers (and hence are older) will be at the top of the 2912348SN/A * priority queue. 2922292SN/A */ 2932292SN/A struct pqCompare { 2942292SN/A bool operator() (const DynInstPtr &lhs, const DynInstPtr &rhs) const 2952292SN/A { 2962292SN/A return lhs->seqNum > rhs->seqNum; 2972292SN/A } 2981060SN/A }; 2991060SN/A 3002292SN/A typedef std::priority_queue<DynInstPtr, std::vector<DynInstPtr>, pqCompare> 3012292SN/A ReadyInstQueue; 3021755SN/A 3032292SN/A /** List of ready instructions, per op class. They are separated by op 3042292SN/A * class to allow for easy mapping to FUs. 3051061SN/A */ 3062292SN/A ReadyInstQueue readyInsts[Num_OpClasses]; 3071061SN/A 3081061SN/A /** List of non-speculative instructions that will be scheduled 3091061SN/A * once the IQ gets a signal from commit. While it's redundant to 3101061SN/A * have the key be a part of the value (the sequence number is stored 3111061SN/A * inside of DynInst), when these instructions are woken up only 3121681SN/A * the sequence number will be available. Thus it is most efficient to be 3131061SN/A * able to search by the sequence number alone. 3141061SN/A */ 3151061SN/A std::map<InstSeqNum, DynInstPtr> nonSpecInsts; 3161061SN/A 3172292SN/A typedef typename std::map<InstSeqNum, DynInstPtr>::iterator NonSpecMapIt; 3182292SN/A 3192292SN/A /** Entry for the list age ordering by op class. */ 3202292SN/A struct ListOrderEntry { 3212292SN/A OpClass queueType; 3222292SN/A InstSeqNum oldestInst; 3232292SN/A }; 3242292SN/A 3252292SN/A /** List that contains the age order of the oldest instruction of each 3262292SN/A * ready queue. Used to select the oldest instruction available 3272292SN/A * among op classes. 3282326SN/A * @todo: Might be better to just move these entries around instead 3292326SN/A * of creating new ones every time the position changes due to an 3302326SN/A * instruction issuing. Not sure std::list supports this. 3312292SN/A */ 3322292SN/A std::list<ListOrderEntry> listOrder; 3332292SN/A 3342292SN/A typedef typename std::list<ListOrderEntry>::iterator ListOrderIt; 3352292SN/A 3362292SN/A /** Tracks if each ready queue is on the age order list. */ 3372292SN/A bool queueOnList[Num_OpClasses]; 3382292SN/A 3392292SN/A /** Iterators of each ready queue. Points to their spot in the age order 3402292SN/A * list. 3412292SN/A */ 3422292SN/A ListOrderIt readyIt[Num_OpClasses]; 3432292SN/A 3442292SN/A /** Add an op class to the age order list. */ 3452292SN/A void addToOrderList(OpClass op_class); 3462292SN/A 3472292SN/A /** 3482292SN/A * Called when the oldest instruction has been removed from a ready queue; 3492292SN/A * this places that ready queue into the proper spot in the age order list. 3502292SN/A */ 3512292SN/A void moveToYoungerInst(ListOrderIt age_order_it); 3522292SN/A 3532326SN/A DependencyGraph<DynInstPtr> dependGraph; 3542326SN/A 3552292SN/A ////////////////////////////////////// 3562292SN/A // Various parameters 3572292SN/A ////////////////////////////////////// 3582292SN/A 3592292SN/A /** IQ Resource Sharing Policy */ 3602292SN/A enum IQPolicy { 3612292SN/A Dynamic, 3622292SN/A Partitioned, 3632292SN/A Threshold 3642292SN/A }; 3652292SN/A 3662292SN/A /** IQ sharing policy for SMT. */ 3672292SN/A IQPolicy iqPolicy; 3682292SN/A 3692292SN/A /** Number of Total Threads*/ 3702292SN/A unsigned numThreads; 3712292SN/A 3722292SN/A /** Pointer to list of active threads. */ 3732292SN/A std::list<unsigned> *activeThreads; 3742292SN/A 3752292SN/A /** Per Thread IQ count */ 3762292SN/A unsigned count[Impl::MaxThreads]; 3772292SN/A 3782292SN/A /** Max IQ Entries Per Thread */ 3792292SN/A unsigned maxEntries[Impl::MaxThreads]; 3801060SN/A 3811060SN/A /** Number of free IQ entries left. */ 3821060SN/A unsigned freeEntries; 3831060SN/A 3841060SN/A /** The number of entries in the instruction queue. */ 3851060SN/A unsigned numEntries; 3861060SN/A 3871060SN/A /** The total number of instructions that can be issued in one cycle. */ 3881060SN/A unsigned totalWidth; 3891060SN/A 3902292SN/A /** The number of physical registers in the CPU. */ 3911060SN/A unsigned numPhysRegs; 3921060SN/A 3931060SN/A /** The number of physical integer registers in the CPU. */ 3941060SN/A unsigned numPhysIntRegs; 3951060SN/A 3961060SN/A /** The number of floating point registers in the CPU. */ 3971060SN/A unsigned numPhysFloatRegs; 3981060SN/A 3991060SN/A /** Delay between commit stage and the IQ. 4001060SN/A * @todo: Make there be a distinction between the delays within IEW. 4011060SN/A */ 4021060SN/A unsigned commitToIEWDelay; 4031060SN/A 4042348SN/A /** Is the IQ switched out. */ 4052307SN/A bool switchedOut; 4061060SN/A 4071060SN/A /** The sequence number of the squashed instruction. */ 4082292SN/A InstSeqNum squashedSeqNum[Impl::MaxThreads]; 4091060SN/A 4101060SN/A /** A cache of the recently woken registers. It is 1 if the register 4111060SN/A * has been woken up recently, and 0 if the register has been added 4121060SN/A * to the dependency graph and has not yet received its value. It 4131060SN/A * is basically a secondary scoreboard, and should pretty much mirror 4141060SN/A * the scoreboard that exists in the rename map. 4151060SN/A */ 4162292SN/A std::vector<bool> regScoreboard; 4171060SN/A 4182326SN/A /** Adds an instruction to the dependency graph, as a consumer. */ 4191061SN/A bool addToDependents(DynInstPtr &new_inst); 4201684SN/A 4212326SN/A /** Adds an instruction to the dependency graph, as a producer. */ 4222326SN/A void addToProducers(DynInstPtr &new_inst); 4231755SN/A 4242292SN/A /** Moves an instruction to the ready queue if it is ready. */ 4251684SN/A void addIfReady(DynInstPtr &inst); 4261684SN/A 4271684SN/A /** Debugging function to count how many entries are in the IQ. It does 4281684SN/A * a linear walk through the instructions, so do not call this function 4291684SN/A * during normal execution. 4301684SN/A */ 4311684SN/A int countInsts(); 4321684SN/A 4331684SN/A /** Debugging function to dump all the list sizes, as well as print 4341684SN/A * out the list of nonspeculative instructions. Should not be used 4351684SN/A * in any other capacity, but it has no harmful sideaffects. 4361684SN/A */ 4371684SN/A void dumpLists(); 4381062SN/A 4392292SN/A /** Debugging function to dump out all instructions that are in the 4402292SN/A * IQ. 4412292SN/A */ 4422292SN/A void dumpInsts(); 4432292SN/A 4442292SN/A /** Stat for number of instructions added. */ 4451062SN/A Stats::Scalar<> iqInstsAdded; 4462292SN/A /** Stat for number of non-speculative instructions added. */ 4471062SN/A Stats::Scalar<> iqNonSpecInstsAdded; 4482326SN/A 4492301SN/A Stats::Scalar<> iqInstsIssued; 4502292SN/A /** Stat for number of integer instructions issued. */ 4511062SN/A Stats::Scalar<> iqIntInstsIssued; 4522292SN/A /** Stat for number of floating point instructions issued. */ 4531062SN/A Stats::Scalar<> iqFloatInstsIssued; 4542292SN/A /** Stat for number of branch instructions issued. */ 4551062SN/A Stats::Scalar<> iqBranchInstsIssued; 4562292SN/A /** Stat for number of memory instructions issued. */ 4571062SN/A Stats::Scalar<> iqMemInstsIssued; 4582292SN/A /** Stat for number of miscellaneous instructions issued. */ 4591062SN/A Stats::Scalar<> iqMiscInstsIssued; 4602292SN/A /** Stat for number of squashed instructions that were ready to issue. */ 4611062SN/A Stats::Scalar<> iqSquashedInstsIssued; 4622292SN/A /** Stat for number of squashed instructions examined when squashing. */ 4631062SN/A Stats::Scalar<> iqSquashedInstsExamined; 4642292SN/A /** Stat for number of squashed instruction operands examined when 4652292SN/A * squashing. 4662292SN/A */ 4671062SN/A Stats::Scalar<> iqSquashedOperandsExamined; 4682292SN/A /** Stat for number of non-speculative instructions removed due to a squash. 4692292SN/A */ 4701062SN/A Stats::Scalar<> iqSquashedNonSpecRemoved; 4712727Sktlim@umich.edu // Also include number of instructions rescheduled and replayed. 4721062SN/A 4732727Sktlim@umich.edu /** Distribution of number of instructions in the queue. 4742727Sktlim@umich.edu * @todo: Need to create struct to track the entry time for each 4752727Sktlim@umich.edu * instruction. */ 4762361SN/A// Stats::VectorDistribution<> queueResDist; 4772348SN/A /** Distribution of the number of instructions issued. */ 4782326SN/A Stats::Distribution<> numIssuedDist; 4792727Sktlim@umich.edu /** Distribution of the cycles it takes to issue an instruction. 4802727Sktlim@umich.edu * @todo: Need to create struct to track the ready time for each 4812727Sktlim@umich.edu * instruction. */ 4822361SN/A// Stats::VectorDistribution<> issueDelayDist; 4832301SN/A 4842348SN/A /** Number of times an instruction could not be issued because a 4852348SN/A * FU was busy. 4862348SN/A */ 4872326SN/A Stats::Vector<> statFuBusy; 4882301SN/A// Stats::Vector<> dist_unissued; 4892348SN/A /** Stat for total number issued for each instruction type. */ 4902326SN/A Stats::Vector2d<> statIssuedInstType; 4912301SN/A 4922348SN/A /** Number of instructions issued per cycle. */ 4932326SN/A Stats::Formula issueRate; 4942727Sktlim@umich.edu 4952348SN/A /** Number of times the FU was busy. */ 4962348SN/A Stats::Vector<> fuBusy; 4972348SN/A /** Number of times the FU was busy per instruction issued. */ 4982326SN/A Stats::Formula fuBusyRate; 4991060SN/A}; 5001060SN/A 5012292SN/A#endif //__CPU_O3_INST_QUEUE_HH__ 502