mem-cache: Refactor the cache recvTimingResp function
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 1 May 2018 13:26:14 +0000 (14:26 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 31 May 2018 13:39:27 +0000 (13:39 +0000)
commit8ba77ae8fc98a355082da2bd9fdc6ecf4928f725
tree8bc531e77c478244f69ae53265efbc6c2a866d6e
parent07820f323704cf943ff2fae14ba5b7ac04e607b3
mem-cache: Refactor the cache recvTimingResp function

The recvTimingResp function in the cache handles timing
responses. Over time, recvTimingResp has grown in complexity and code
size. This change factors out some of its functionality to a separate
function. The new function iterates through the in-service targets and
handles them accordingly.

Change-Id: I0ef28288640f6be1b30452b0664d32432e692ea6
Reviewed-on: https://gem5-review.googlesource.com/10423
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