diff options
author | Brandon Potter <brandon.potter@amd.com> | 2019-03-11 14:08:17 -0400 |
---|---|---|
committer | Brandon Potter <Brandon.Potter@amd.com> | 2019-08-01 20:31:33 +0000 |
commit | 0db598e48d68d267c13b8213b333f8ec2b13d28f (patch) | |
tree | 563a25fb16e8ccf6e3af2ac5d209d078abadff02 /src/mem/ruby/system/RubySystem.cc | |
parent | 9afe480c404543a0f7fe59b3abe5bd3d50367c5c (diff) | |
download | gem5-0db598e48d68d267c13b8213b333f8ec2b13d28f.tar.xz |
sim-se: small performance optimization
A local variable was being set inside a loop when it should
have been set outside the loop. This changeset moves the
variable to the appropriate place.
Change-Id: If7655b501bd819c39d35dea4c316b4b9ed3173a2
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17108
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/mem/ruby/system/RubySystem.cc')
0 files changed, 0 insertions, 0 deletions