From: Nathan Binkert Date: Sun, 20 Nov 2005 23:32:22 +0000 (-0500) Subject: use Counter to avoid overflowing an int X-Git-Tag: m5_2.0_beta1~297 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e8151f39220957b2be0b546544b6e74831071a9;p=gem5.git use Counter to avoid overflowing an int cpu/profile.hh: use Counter for the profile count to avoid overflow --HG-- extra : convert_revision : bb603b7d139d1736dced26ef0ce1f93ddea30de7 --- 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();