summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-11-20 18:32:22 -0500
committerNathan Binkert <binkertn@umich.edu>2005-11-20 18:32:22 -0500
commit9e8151f39220957b2be0b546544b6e74831071a9 (patch)
treefa62baefbdcc51fed851e03cd187b83f2c3e0461 /cpu
parent441c43d36cae407943c486263b543cc08781c3a0 (diff)
downloadgem5-9e8151f39220957b2be0b546544b6e74831071a9.tar.xz
use Counter to avoid overflowing an int
cpu/profile.hh: use Counter for the profile count to avoid overflow --HG-- extra : convert_revision : bb603b7d139d1736dced26ef0ce1f93ddea30de7
Diffstat (limited to 'cpu')
-rw-r--r--cpu/profile.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/profile.hh b/cpu/profile.hh
index c795b8f41..b7526ab6a 100644
--- a/cpu/profile.hh
+++ b/cpu/profile.hh
@@ -44,7 +44,7 @@ class ProfileNode
ChildList children;
public:
- int count;
+ Counter count;
public:
ProfileNode();