On Fri, Oct 28, 2011 at 1:13 PM, sparsh mittal <[email protected]>wrote:
> Here is a code from cacheController.cpp
>
> if (type_ == L2_CACHE || type_ == L3_CACHE)
> {
> memdebug("L2/L3 cache update sending to lower\n");
> queueEntry->eventFlags[
> CACHE_WAIT_INTERCONNECT_EVENT]++;
> queueEntry->sendTo = lowerInterconnect_;
> memoryHierarchy_->add_event(&waitInterconnect_,
> 0, queueEntry);
> }
>
> I think, L2_CACHE etc. are no longer used. We should use get_name() and
> check whether it has "L2".
> Correct me if wrong.
>
> Yes. In constructor we can add a flag for this condition which will be
little faster. Send me the patch if you have one.
Thanks,
Avadh
> Thanks and Regards
> Sparsh Mittal
>
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel