base.cc (11454:e55afadc4e19) | base.cc (11455:067177a1b578) |
---|---|
1/* 2 * Copyright (c) 2012-2013 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 --- 183 unchanged lines hidden (view full) --- 192 hits[access_idx].subname(i, system->getMasterName(i)); 193 } 194 } 195 196// These macros make it easier to sum the right subset of commands and 197// to change the subset of commands that are considered "demand" vs 198// "non-demand" 199#define SUM_DEMAND(s) \ | 1/* 2 * Copyright (c) 2012-2013 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 --- 183 unchanged lines hidden (view full) --- 192 hits[access_idx].subname(i, system->getMasterName(i)); 193 } 194 } 195 196// These macros make it easier to sum the right subset of commands and 197// to change the subset of commands that are considered "demand" vs 198// "non-demand" 199#define SUM_DEMAND(s) \ |
200 (s[MemCmd::ReadReq] + s[MemCmd::WriteReq] + \ | 200 (s[MemCmd::ReadReq] + s[MemCmd::WriteReq] + s[MemCmd::WriteLineReq] + \ |
201 s[MemCmd::ReadExReq] + s[MemCmd::ReadCleanReq] + s[MemCmd::ReadSharedReq]) 202 203// should writebacks be included here? prior code was inconsistent... 204#define SUM_NON_DEMAND(s) \ 205 (s[MemCmd::SoftPFReq] + s[MemCmd::HardPFReq]) 206 207 demandHits 208 .name(name() + ".demand_hits") --- 546 unchanged lines hidden --- | 201 s[MemCmd::ReadExReq] + s[MemCmd::ReadCleanReq] + s[MemCmd::ReadSharedReq]) 202 203// should writebacks be included here? prior code was inconsistent... 204#define SUM_NON_DEMAND(s) \ 205 (s[MemCmd::SoftPFReq] + s[MemCmd::HardPFReq]) 206 207 demandHits 208 .name(name() + ".demand_hits") --- 546 unchanged lines hidden --- |