Hi Jason, Thanks for your suggestion. I will surely go ahead with this.
With regards Sumit Kumar Mandal PhD Student Electrical Engineering Arizona State University Tempe, AZ 85281 USA On Wed, Nov 28, 2018 at 9:42 AM Jason Lowe-Power <[email protected]> wrote: > Hi Sumit, > > You should be able to get this information using gprof. You can run gem5 > with gprof by compiling the profiling version (gem5.prof). If you prefer to > use the google perf tools ( > https://gperftools.github.io/gperftools/cpuprofile.html), then you can > compile gem5.perf and use those. > > Cheers, > Jason > > On Wed, Nov 28, 2018 at 8:22 AM Sumit Mandal <[email protected]> wrote: > >> Hello everyone, >> >> I want to profile simulation time for Gem5 running along with Garnet2.0. >> Basically I want to know simulation time spent by host for Garnet related >> function calls. >> >> For an example, consider that the whole Gem5 simulation takes 10 hours in >> host system. I want to find out how much of this time is spent by Garnet >> related function calls. If Garnet takes 2 out of 10 hours, we can roughly >> say that Garnet simulation takes 20% of total simulation time. >> >> Has anybody done this type of analysis before? Or can anybody help on how >> to proceed for this kind of analysis. >> >> Thanks is advance. >> >> With regards >> Sumit Kumar Mandal >> PhD Student >> Electrical Engineering >> Arizona State University >> Tempe, AZ 85281 >> USA >> _______________________________________________ >> 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
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
