projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
441c43d
)
use Counter to avoid overflowing an int
author
Nathan Binkert
<binkertn@umich.edu>
Sun, 20 Nov 2005 23:32:22 +0000
(18:32 -0500)
committer
Nathan Binkert
<binkertn@umich.edu>
Sun, 20 Nov 2005 23:32:22 +0000
(18:32 -0500)
cpu/profile.hh:
use Counter for the profile count to avoid overflow
--HG--
extra : convert_revision :
bb603b7d139d1736dced26ef0ce1f93ddea30de7
cpu/profile.hh
patch
|
blob
|
history
diff --git
a/cpu/profile.hh
b/cpu/profile.hh
index c795b8f4149c026d9bf5d047f92c2227f5363b4c..b7526ab6a7288fe8528ce99ffd0e52154079e1ea 100644
(file)
--- a/
cpu/profile.hh
+++ b/
cpu/profile.hh
@@
-44,7
+44,7
@@
class ProfileNode
ChildList children;
public:
-
int
count;
+
Counter
count;
public:
ProfileNode();