ruby: Fix initial weight in weighted LRU
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Wed, 6 Jun 2018 10:00:55 +0000 (12:00 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 12 Jun 2018 20:07:25 +0000 (20:07 +0000)
commit8de76e0f14f70da39dc060b6741d54d1432ff9a8
treee0700339edd26dfbcc129c9fa2d2a71c15b6b858
parentf54020eb8155371725ab75b0fc5c419287eca084
ruby: Fix initial weight in weighted LRU

Initial weight was using the timestamp instead of the weight.

Change-Id: I61d3c8424f85fd6856957087c477afda111f8ca7
Reviewed-on: https://gem5-review.googlesource.com/10801
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/mem/ruby/system/WeightedLRUPolicy.cc