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
