base.cc (10884:c60acdbdd6ad) base.cc (10885:3ac92bf1f31f)
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

--- 176 unchanged lines hidden (view full) ---

185 hits[access_idx].subname(i, system->getMasterName(i));
186 }
187 }
188
189// These macros make it easier to sum the right subset of commands and
190// to change the subset of commands that are considered "demand" vs
191// "non-demand"
192#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

--- 176 unchanged lines hidden (view full) ---

185 hits[access_idx].subname(i, system->getMasterName(i));
186 }
187 }
188
189// These macros make it easier to sum the right subset of commands and
190// to change the subset of commands that are considered "demand" vs
191// "non-demand"
192#define SUM_DEMAND(s) \
193 (s[MemCmd::ReadReq] + s[MemCmd::WriteReq] + s[MemCmd::ReadExReq])
193 (s[MemCmd::ReadReq] + s[MemCmd::WriteReq] + \
194 s[MemCmd::ReadExReq] + s[MemCmd::ReadCleanReq] + s[MemCmd::ReadSharedReq])
194
195// should writebacks be included here? prior code was inconsistent...
196#define SUM_NON_DEMAND(s) \
197 (s[MemCmd::SoftPFReq] + s[MemCmd::HardPFReq])
198
199 demandHits
200 .name(name() + ".demand_hits")
201 .desc("number of demand (read+write) hits")

--- 600 unchanged lines hidden ---
195
196// should writebacks be included here? prior code was inconsistent...
197#define SUM_NON_DEMAND(s) \
198 (s[MemCmd::SoftPFReq] + s[MemCmd::HardPFReq])
199
200 demandHits
201 .name(name() + ".demand_hits")
202 .desc("number of demand (read+write) hits")

--- 600 unchanged lines hidden ---