use Counter to avoid overflowing an int
cpu/profile.hh: use Counter for the profile count to avoid overflow --HG-- extra : convert_revision : bb603b7d139d1736dced26ef0ce1f93ddea30de7
This commit is contained in:
parent
441c43d36c
commit
9e8151f392
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class ProfileNode
|
|||
ChildList children;
|
||||
|
||||
public:
|
||||
int count;
|
||||
Counter count;
|
||||
|
||||
public:
|
||||
ProfileNode();
|
||||
|
|
Loading…
Reference in a new issue