Hi Xiaoyu,

Have a look at http://reviews.gem5.org/r/2090/, this patch might provide a good 
starting point.

Andreas

From: Xiaoyu Zheng <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 19 November 2013 19:08
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [gem5-users] X86: Record Process ID in Cache

Hi all,

I want to record the pid for each cache block in X86. I tried to use the 
function defined in arch/generic/linux/threadinfo.hh, but there's some error. 
Is that the threadinfo.hh doesn't support X86? Can I call the function int 
pid(Addr ksp) defined in arch/x86/stacktrace.hh in mem/cache/blk.hh? If I can 
do in this way, what does the parameter address mean?

Thanks a lot! I appreciate your help!

With respects,

Xiaoyu

-- 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