Hello Everyone,

I checked that pkt->req->taskId() always returned 1024 (code for unknown)
in handleFill and access functions, I checked the properties of cache_blk,
packet and request and there is not a cpuId. Some body could guide me in
the way I have to follow to add the cpu id in the memory requests, i need
this for filter the blocks.

Thanks in advance. Regards

On Wed, Jan 22, 2020 at 4:39 PM Richard Brown <[email protected]>
wrote:

> Hello everyone,
>
> I am working on cache filtering. So in an architecture with several cores
> each of them with its private caches (L1 and L2) and one shared LLC (L3), I
> need to identify the core from which a block that will be stored in L3
> comes.
>
> I thought that using the method pkt->req->taskId() I might know the core
> id, but I'm not sure if this method tells me the core from which the block
> comes from, especially in writebacks accesses.
>
> I am modifying the file src/mem/cache/base.cc.
>
> Thanks in advance.
>
> Rich
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to