I am working as an undergraduate research assistant at my university, and have been tasked with collecting data from specific methods inside of a large, multi-file project. Specifically, I am looking for how many clock cycles a method takes to execute. I was running data on a TI Pandaboard (OMAP4 Cortex-A9 ARMv7l) before learning that OMAP4 processor family has problems their PMU's and thus could not let me get accurate cycle measurements from the hardware events in smaller methods. I switched to running my tests inside of the Gem5 simulator instead (ARM linux disk image [.opt] on an x86_64 machine). The simulator works great, and using debugging flags I can gather a great amount of data off of the hello world example. However, I need to trace the c++ level commands line by line to compare the CPU counter, not read through a massive trace file of translated assembly code. Would GDB debugging tools work better in this regard? I have been researching methods to accurately measure clock cycles for a significant amount of time and cannot seem to find a way to do it. Gem5 has the capability, but I am not sure of how to do it. Does anyone have advice on how to do function level tracing within Gem5?
Thank you for your time and effort, sincerely, Kevin Gilbert University of Texas at Austin Bachelor of Science Undergraduate Research Assistant _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
