That worked. thank you.
Would you mind explaining the following code for me? I have taken the course of
C++, but I have never seen such usage.
std::static_pointer_cast<RandomReplData>(
candidate->replacementData)->valid
I guess RandomReplData should be assigned to the template class, but what does
the static_pointer_cast here do? If only (candidate->replacementData)->valid, I
think it is easy to understand. This code is in
gem5/src/mem/cache/replacement_policies/random_rp.cc
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s