Hi Kumail,

Yes, it works just fine.

All you have to do is create the PMU, and add the events.

Something along the lines of:

                for isa in cpu.isa:
                    isa.pmu = ArmPMU()
                    isa.pmu.addArchEvents(
                        cpu=cpu, dtb=cpu.dtb, itb=cpu.itb,
                        icache=getattr(cpu, "il1_cache", None),
                        dcache=getattr(cpu, "dl1_cache", None),
                        l2cache=getattr(cpu, "l2_cache", None)
                        )

Andreas

From: Kumail Ahmed <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 21 April 2015 20:22
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: [gem5-users] PMU in GEM5


Hello everyone,

Is it possible to use the PMU with Arm ISA?

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