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 --- 32 unchanged lines hidden (view full) --- 41 * Korey Sewell 42 */ 43 44#ifndef __CPU_O3_ROB_IMPL_HH__ 45#define __CPU_O3_ROB_IMPL_HH__ 46 47#include <list> 48 |
49#include "base/logging.hh" |
50#include "cpu/o3/rob.hh" 51#include "debug/Fetch.hh" 52#include "debug/ROB.hh" 53#include "params/DerivO3CPU.hh" 54 55using namespace std; 56 57template <class Impl> --- 37 unchanged lines hidden (view full) --- 95 96 int threshold = params->smtROBThreshold;; 97 98 //Divide up by threshold amount 99 for (ThreadID tid = 0; tid < numThreads; tid++) { 100 maxEntries[tid] = threshold; 101 } 102 } else { |
103 panic("Invalid ROB sharing policy. Options are: Dynamic, " 104 "Partitioned, Threshold"); |
105 } 106 107 resetState(); 108} 109 110template <class Impl> 111void 112ROB<Impl>::resetState() --- 454 unchanged lines hidden --- |