use Counter to avoid overflowing an int
authorNathan Binkert <binkertn@umich.edu>
Sun, 20 Nov 2005 23:32:22 +0000 (18:32 -0500)
committerNathan 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

index c795b8f4149c026d9bf5d047f92c2227f5363b4c..b7526ab6a7288fe8528ce99ffd0e52154079e1ea 100644 (file)
@@ -44,7 +44,7 @@ class ProfileNode
     ChildList children;
 
   public:
-    int count;
+    Counter count;
 
   public:
     ProfileNode();