Hi,

To be clear, the CommMonitor can help you see what transactions are
arriving at the cache, but it will not tell you what data is in the cache
(as that depends on the cache configuration, other caches etc). If you are
implementing a prefetcher I??d suggest to have a look at one of the
existing ones as a starting point.

Andreas

On 23/04/2014 14:42, "anonymous" <[email protected]> wrote:

>Andreas Hansson <Andreas.Hansson <at> arm.com> writes:
>
>>
>> Hi,
>>
>> There are two issues here:
>>
>> 1) Do you really want to see the contents of the cache? If so, the
>> CommMonitor will not help you, and the only way would be to implement
>>some
>> form of ??dump?? function yourself.
>>
>> 2) Ensure you have protoc and the development headers (libprotobuf-dev).
>> If your protoc is not in the path, then you can also specify it using
>> PROTOC.
>>
>> Andreas
>>
>> On 23/04/2014 06:44, "anonymous" <spamfolder3 <at> gmail.com> wrote:
>>
>> >Hi,
>> >
>> >I am attempting to view the contents of the
>> >l1-data cache. I understand the CommMontior
>> >may be the best option (if not please correct me
>> >if there is a way to dump the cache)
>> >
>> >However I can not seem to add the CommMonitor
>> >
>> >I've followed the instructions on this forum
>> >
>> > still recieve the error
>> >ImportError: No module named CommMonitor:
>> >
>> >I have imported
>> >From CommMonitor import *
>> >
>> >My major issue I believe is that
>> >protobuf still registers as 0 in
>> >build folder, even though I have it installed
>> >/usr/local/bin
>> >
>> >If anyone has had this issue before can you
>> >please offer a solution.
>> >
>> >Thank, yo,
>> >
>> >_______________________________________________
>> >gem5-users mailing list
>> >gem5-users <at> gem5.org
>> >http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>> >
>>
>
>Hi thanks for the the quick reply
>
>Yes I am working on a prefetcher configuration
>so viewing what is already in the cache would
>be helpful, or at least what comes into cache
>
>So I take it by your answer there is no
>established way to do this?
>What class would you dump?
>I've been working in cache_impl.hh
>but I don't know if this stores the
>items itself.
>
>and ok, I installed/compiled protobuf
>from source
>I'll check to see if dev headers were
>part of that.
>
>Thank you for the help
>
>_______________________________________________
>gem5-users mailing list
>[email protected]
>http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No:  2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to