bpred_unit.cc (11434:b5aed9d2d54e) | bpred_unit.cc (11523:81332eb10367) |
---|---|
1/* 2 * Copyright (c) 2011-2012, 2014 ARM Limited 3 * Copyright (c) 2010 The University of Edinburgh 4 * Copyright (c) 2012 Mark D. Hill and David A. Wood 5 * All rights reserved 6 * 7 * The license below extends only to copyright in the software and shall 8 * not be construed as granting a license to any other intellectual --- 66 unchanged lines hidden (view full) --- 75{ 76 for (auto& r : RAS) 77 r.init(params->RASSize); 78} 79 80void 81BPredUnit::regStats() 82{ | 1/* 2 * Copyright (c) 2011-2012, 2014 ARM Limited 3 * Copyright (c) 2010 The University of Edinburgh 4 * Copyright (c) 2012 Mark D. Hill and David A. Wood 5 * All rights reserved 6 * 7 * The license below extends only to copyright in the software and shall 8 * not be construed as granting a license to any other intellectual --- 66 unchanged lines hidden (view full) --- 75{ 76 for (auto& r : RAS) 77 r.init(params->RASSize); 78} 79 80void 81BPredUnit::regStats() 82{ |
83 SimObject::regStats(); 84 |
|
83 lookups 84 .name(name() + ".lookups") 85 .desc("Number of BP lookups") 86 ; 87 88 condPredicted 89 .name(name() + ".condPredicted") 90 .desc("Number of conditional branches predicted") --- 536 unchanged lines hidden --- | 85 lookups 86 .name(name() + ".lookups") 87 .desc("Number of BP lookups") 88 ; 89 90 condPredicted 91 .name(name() + ".condPredicted") 92 .desc("Number of conditional branches predicted") --- 536 unchanged lines hidden --- |