diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-08-23 11:18:39 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-08-23 11:18:39 -0500 |
commit | 77937738096e227ebfe5bd2fb999c35032c2c8c4 (patch) | |
tree | 2fb486b2b1f2ae214d30202f8fc45601d8ae4275 /src/base/fast_alloc.cc | |
parent | fa01fbddeb637efe5fc90c9777579008f0af39ed (diff) | |
download | gem5-77937738096e227ebfe5bd2fb999c35032c2c8c4.tar.xz |
stats: Fix off-by-one error in distributions.
bkt size isn't evenly divisible by max-min and it would round down,
it's possible to sample a distribution and have no place to put the sample.
When this case occured the simulator would assert.
Diffstat (limited to 'src/base/fast_alloc.cc')
0 files changed, 0 insertions, 0 deletions