Hello Andreas, When I try to add the PMU object I get the following error:
AttributeError: object 'O3_ARM_v7a_3' has no attribute 'pmu' Can you help me with this? best regards, Kumail Ahmed On Sat, Apr 25, 2015 at 5:16 PM, Kumail Ahmed <[email protected]> wrote: > Hello Andreas, > > Thank you very much for your reply. > > Do I have to add the ARMPMU in fs.py file if I'm using Full system Mode? > > Best regards, > Kumail > > On Thu, Apr 23, 2015 at 4:53 PM, Andreas Hansson <[email protected]> > wrote: > >> 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]> >> Reply-To: gem5 users mailing list <[email protected]> >> Date: Tuesday, 21 April 2015 20:22 >> To: gem5 users mailing list <[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 >> > > > > -- > Best Regards, > Kumail Ahmed > M.Sc. Student > TU Kaiserslautern > -- Best Regards, Kumail Ahmed M.Sc. Student TU Kaiserslautern
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
