To add, profiling of kernel code in full-system mode is supported. To support user code, need to load user program symbol table, have a look at src <http://grok.gem5.org/source/xref/gem5/src>/cpu<http://grok.gem5.org/source/xref/gem5/src/cpu> /simple_thread.cc<http://grok.gem5.org/source/xref/gem5/src/cpu/simple_thread.cc> Line 84~90.
Jack Jack Harvard On Tue, Jan 14, 2014 at 10:32 AM, Jack Harvard <[email protected]>wrote: > Hi Fateme, > > gem5.perf is for benchmarking gem5 simulator itself, i.e., which functions > are being called most in the simulator etc, not the workloads running on > gem5.perf. > > For workloads, the cpu/profile.hh provides support for workloads function > profiling, but I don't think user program profiling is supported though, > others have done kernel profiling. > > Jack > > Jack Harvard > > > On Tue, Dec 24, 2013 at 11:46 AM, Fateme Movafagh < > [email protected]> wrote: > >> Hi :) >> I should profile and find out the hot spot of my workloads to continue >> my work. For instance, I want to determine which parts of my >> workloads(parsec benchmarks) are taking most of the execution time while >> they are running in Gem5 Full System. >> I am wondering if gem5.pref can give me such results... ??? >> I would appreciate any help . >> Thanks in advance. >> >> -- >> Fateme Movafagh >> >> >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
