diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2012-04-12 08:35:49 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2012-04-12 08:35:49 -0400 |
commit | c9634d9b38e5d58a8b68af5f26c257886d791518 (patch) | |
tree | c3687d14ad34bfc6bbb21999f7c85921dd26bd31 /src/cpu/profile.hh | |
parent | 15ca4f2fc7c81bb3ade68cbff7d58bd01aa00d33 (diff) | |
download | gem5-c9634d9b38e5d58a8b68af5f26c257886d791518.tar.xz |
Ruby: Ensure order-dependent iteration uses an ordered map
This patch fixes a bug in Ruby that caused non-deterministic
simulation when changing the underlying hash map implementation. The
reason is order-dependent behaviour in combination with iteration over
the hash map contents. The two locations where a sorted container is
assumed are now changed to make use of a std::map instead of the
unordered hash map.
With this change, the stats changes slightly and the follow-on
changeset will update the relevant statistics.
Diffstat (limited to 'src/cpu/profile.hh')
0 files changed, 0 insertions, 0 deletions