rob.hh (2877:4b56debc25d1) | rob.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; --- 68 unchanged lines hidden (view full) --- 77 /** ROB constructor. 78 * @param _numEntries Number of entries in ROB. 79 * @param _squashWidth Number of instructions that can be squashed in a 80 * single cycle. 81 * @param _smtROBPolicy ROB Partitioning Scheme for SMT. 82 * @param _smtROBThreshold Max Resources(by %) a thread can have in the ROB. 83 * @param _numThreads The number of active threads. 84 */ | 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; --- 68 unchanged lines hidden (view full) --- 77 /** ROB constructor. 78 * @param _numEntries Number of entries in ROB. 79 * @param _squashWidth Number of instructions that can be squashed in a 80 * single cycle. 81 * @param _smtROBPolicy ROB Partitioning Scheme for SMT. 82 * @param _smtROBThreshold Max Resources(by %) a thread can have in the ROB. 83 * @param _numThreads The number of active threads. 84 */ |
85 ROB(unsigned _numEntries, unsigned _squashWidth, std::string smtROBPolicy, 86 unsigned _smtROBThreshold, unsigned _numThreads); | 85 ROB(O3CPU *_cpu, unsigned _numEntries, unsigned _squashWidth, 86 std::string smtROBPolicy, unsigned _smtROBThreshold, 87 unsigned _numThreads); |
87 88 std::string name() const; 89 | 88 89 std::string name() const; 90 |
90 /** Function to set the CPU pointer, necessary due to which object the ROB 91 * is created within. 92 * @param cpu_ptr Pointer to the implementation specific full CPU object. 93 */ 94 void setCPU(O3CPU *cpu_ptr); 95 | |
96 /** Sets pointer to the list of active threads. 97 * @param at_ptr Pointer to the list of active threads. 98 */ 99 void setActiveThreads(std::list<unsigned>* at_ptr); 100 101 /** Switches out the ROB. */ 102 void switchOut(); 103 --- 217 unchanged lines hidden --- | 91 /** Sets pointer to the list of active threads. 92 * @param at_ptr Pointer to the list of active threads. 93 */ 94 void setActiveThreads(std::list<unsigned>* at_ptr); 95 96 /** Switches out the ROB. */ 97 void switchOut(); 98 --- 217 unchanged lines hidden --- |