summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-06-15 01:18:36 -0700
committerNathan Binkert <nate@binkert.org>2010-06-15 01:18:36 -0700
commit86a93fe7b9576045b5e085965ec85692379823e7 (patch)
treeb6132ca65b7a1374212609b1904a316cbad90616 /src/arch
parent54d813adcaf6d5eda4040c20bae1706b0a78324b (diff)
downloadgem5-86a93fe7b9576045b5e085965ec85692379823e7.tar.xz
stats: only consider a formula initialized if there is a formula
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/tlb.cc5
-rw-r--r--src/arch/arm/tlb.hh1
-rw-r--r--src/arch/mips/tlb.cc5
-rw-r--r--src/arch/mips/tlb.hh1
-rw-r--r--src/arch/power/tlb.cc5
-rw-r--r--src/arch/power/tlb.hh1
6 files changed, 0 insertions, 18 deletions
diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc
index f0e40f690..9cc00a89e 100644
--- a/src/arch/arm/tlb.cc
+++ b/src/arch/arm/tlb.cc
@@ -282,11 +282,6 @@ TLB::regStats()
.desc("DTB misses")
;
- invalids
- .name(name() + ".invalids")
- .desc("DTB access violations")
- ;
-
accesses
.name(name() + ".accesses")
.desc("DTB accesses")
diff --git a/src/arch/arm/tlb.hh b/src/arch/arm/tlb.hh
index a779a492d..1bddd8497 100644
--- a/src/arch/arm/tlb.hh
+++ b/src/arch/arm/tlb.hh
@@ -108,7 +108,6 @@ class TLB : public BaseTLB
mutable Stats::Scalar write_accesses;
Stats::Formula hits;
Stats::Formula misses;
- Stats::Formula invalids;
Stats::Formula accesses;
diff --git a/src/arch/mips/tlb.cc b/src/arch/mips/tlb.cc
index e01c06ae5..cf1230745 100644
--- a/src/arch/mips/tlb.cc
+++ b/src/arch/mips/tlb.cc
@@ -281,11 +281,6 @@ TLB::regStats()
.desc("DTB misses")
;
- invalids
- .name(name() + ".invalids")
- .desc("DTB access violations")
- ;
-
accesses
.name(name() + ".accesses")
.desc("DTB accesses")
diff --git a/src/arch/mips/tlb.hh b/src/arch/mips/tlb.hh
index 68b1c0c75..e301cf666 100644
--- a/src/arch/mips/tlb.hh
+++ b/src/arch/mips/tlb.hh
@@ -105,7 +105,6 @@ class TLB : public BaseTLB
mutable Stats::Scalar write_accesses;
Stats::Formula hits;
Stats::Formula misses;
- Stats::Formula invalids;
Stats::Formula accesses;
public:
diff --git a/src/arch/power/tlb.cc b/src/arch/power/tlb.cc
index 292f13078..a0ff69391 100644
--- a/src/arch/power/tlb.cc
+++ b/src/arch/power/tlb.cc
@@ -265,11 +265,6 @@ TLB::regStats()
.desc("DTB misses")
;
- invalids
- .name(name() + ".invalids")
- .desc("DTB access violations")
- ;
-
accesses
.name(name() + ".accesses")
.desc("DTB accesses")
diff --git a/src/arch/power/tlb.hh b/src/arch/power/tlb.hh
index 1794de626..4445995fc 100644
--- a/src/arch/power/tlb.hh
+++ b/src/arch/power/tlb.hh
@@ -123,7 +123,6 @@ class TLB : public BaseTLB
mutable Stats::Scalar write_accesses;
Stats::Formula hits;
Stats::Formula misses;
- Stats::Formula invalids;
Stats::Formula accesses;
public: