mem-cache: Refactor the cache recvTimingReq function
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Wed, 2 May 2018 10:51:06 +0000 (11:51 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 31 May 2018 13:39:51 +0000 (13:39 +0000)
commit18312bc263d7b3568044d0b361ce376077f432c9
tree6ca489b542e0a4a1cf12326167600af4a9e22901
parent8ba77ae8fc98a355082da2bd9fdc6ecf4928f725
mem-cache: Refactor the cache recvTimingReq function

The recvTimingReq function in the cache handles timing requests. Over
time, recvTimingReq has grown in complexity and code size. This change
factors out some of its functionality in two separate functions. The
new functions handle timing requests that hit and timing requests that
miss separately.

Change-Id: I09902d648d7272f0f9ec2851fa6376f7305ba418
Reviewed-on: https://gem5-review.googlesource.com/10424
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/cache.cc
src/mem/cache/cache.hh