Review Board 2.0.15


ruby: get rid of PrioHeap and use STL

Review Request #24 - Created June 2, 2010 and submitted

Information
Nathan Binkert
gem5
Reviewers
Ruby
ruby: get rid of PrioHeap and use STL

One big difference is that PrioHeap puts the smallest element at the
top of the heap, whereas stl puts the largest element on top, so I
changed all comparisons so they did the right thing.

Some usage of PrioHeap was simply changed to a std::vector, using sort
at the right time, other usage had me just use the various heap functions
in the stl.
All regressions pass
Ship it!
Posted (June 9, 2010, 8:57 a.m.)
Looks good.
Posted (June 21, 2010, 9:06 a.m.)
Overall this patch looks good.  However before pushing it, Tushar and I want to talk about some outstanding changes we have to Garnet.  I'll send you a separate note on that.