From 9e8151f39220957b2be0b546544b6e74831071a9 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sun, 20 Nov 2005 18:32:22 -0500 Subject: use Counter to avoid overflowing an int cpu/profile.hh: use Counter for the profile count to avoid overflow --HG-- extra : convert_revision : bb603b7d139d1736dced26ef0ce1f93ddea30de7 --- cpu/profile.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3