summaryrefslogtreecommitdiff
path: root/src/base/fast_alloc.cc
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-08-23 11:18:39 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2010-08-23 11:18:39 -0500
commit77937738096e227ebfe5bd2fb999c35032c2c8c4 (patch)
tree2fb486b2b1f2ae214d30202f8fc45601d8ae4275 /src/base/fast_alloc.cc
parentfa01fbddeb637efe5fc90c9777579008f0af39ed (diff)
downloadgem5-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