inst_queue.hh (3125:febd811bccc6) | inst_queue.hh (4329:52057dbec096) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 96 unchanged lines hidden (view full) --- 105 InstructionQueue<Impl> *iq_ptr); 106 107 virtual void process(); 108 virtual const char *description(); 109 void setFreeFU() { freeFU = true; } 110 }; 111 112 /** Constructs an IQ. */ | 1/* 2 * Copyright (c) 2004-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; --- 96 unchanged lines hidden (view full) --- 105 InstructionQueue<Impl> *iq_ptr); 106 107 virtual void process(); 108 virtual const char *description(); 109 void setFreeFU() { freeFU = true; } 110 }; 111 112 /** Constructs an IQ. */ |
113 InstructionQueue(Params *params); | 113 InstructionQueue(O3CPU *cpu_ptr, IEW *iew_ptr, Params *params); |
114 115 /** Destructs the IQ. */ 116 ~InstructionQueue(); 117 118 /** Returns the name of the IQ. */ 119 std::string name() const; 120 121 /** Registers statistics. */ 122 void regStats(); 123 124 /** Resets all instruction queue state. */ 125 void resetState(); 126 | 114 115 /** Destructs the IQ. */ 116 ~InstructionQueue(); 117 118 /** Returns the name of the IQ. */ 119 std::string name() const; 120 121 /** Registers statistics. */ 122 void regStats(); 123 124 /** Resets all instruction queue state. */ 125 void resetState(); 126 |
127 /** Sets CPU pointer. */ 128 void setCPU(O3CPU *_cpu) { cpu = _cpu; } 129 | |
130 /** Sets active threads list. */ 131 void setActiveThreads(std::list<unsigned> *at_ptr); 132 | 127 /** Sets active threads list. */ 128 void setActiveThreads(std::list<unsigned> *at_ptr); 129 |
133 /** Sets the IEW pointer. */ 134 void setIEW(IEW *iew_ptr) { iewStage = iew_ptr; } 135 | |
136 /** Sets the timer buffer between issue and execute. */ 137 void setIssueToExecuteQueue(TimeBuffer<IssueStruct> *i2eQueue); 138 139 /** Sets the global time buffer. */ 140 void setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr); 141 142 /** Switches out the instruction queue. */ 143 void switchOut(); --- 364 unchanged lines hidden --- | 130 /** Sets the timer buffer between issue and execute. */ 131 void setIssueToExecuteQueue(TimeBuffer<IssueStruct> *i2eQueue); 132 133 /** Sets the global time buffer. */ 134 void setTimeBuffer(TimeBuffer<TimeStruct> *tb_ptr); 135 136 /** Switches out the instruction queue. */ 137 void switchOut(); --- 364 unchanged lines hidden --- |