Thank you for the reply. I am trying to identify where I can obtain the core ids of the different processors involved while using MOESI_CMP_directory protocol in X86 . For this I thought a viable approach would be to print different variables that I'll find in the files . Which flag should I use for this ?
P.S. I would love to hear if there could be other approaches to finding these ids. Thank you K Girija Sameera On Wed, Jul 1, 2015 at 10:09 PM, kassan unda <kassanu...@gmail.com> wrote: > Open one of the files and look for a Dprintf statement. It should be good > enough to understand how to put one by yourself. You have to use a flag > with it and use that flag with the --debug-flags option. You can also use > your custom flag if you want. > > *Regards,* > *Kassan Unda* > > *Doctoral Candidate* > *Computer Engineering* > *Missouri S&T (Formerly University of Missouri Rolla)* > *WebPage: http://web.mst.edu/~kutx9 <http://web.mst.edu/~kutx9>* > > *"Do not go where the path may lead, go instead where there is no path > and leave a trail."* Ralph Waldo Emerson > > > On Wed, Jul 1, 2015 at 8:40 AM, Daniel Byrne <djby...@mtu.edu> wrote: > >> Yes, you can. Use the debugging flags when running gem5 as mentioned >> here: http://www.m5sim.org/Trace_Based_Debugging >> >> On Wed, Jul 1, 2015 at 5:21 AM, girija sameera <girijasame...@gmail.com> >> wrote: >> >>> Thank you for the reply , Daniel . I am using gem5.opt and the >>> description given above the table says DPRINTFs have been left in , does >>> that mean I can use it to view DRINTF statements? >>> >>> On Thu, Jun 25, 2015 at 11:25 PM, Daniel Byrne <djby...@mtu.edu> wrote: >>> >>>> Hello, >>>> >>>> You can turn on the debugging flags when you execute gem5. See this >>>> http://www.m5sim.org/Trace_Based_Debugging >>>> >>>> Note: Also you must be running a version of gem5 that has debugging >>>> support. See the table of gem5 binaries: >>>> http://www.m5sim.org/Build_System >>>> >>>> On Thu, Jun 25, 2015 at 11:01 AM, girija sameera < >>>> girijasame...@gmail.com> wrote: >>>> >>>>> Hello, >>>>> >>>>> Being new gem5 I have no idea as to how one might view the statements >>>>> printed using the DPRINTF statement. >>>>> Could someone kindly tell me the command and/or output file involved. >>>>> >>>>> Thank you >>>>> K Girija Sameera >>>>> >>>>> _______________________________________________ >>>>> gem5-users mailing list >>>>> gem5-users@gem5.org >>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>>> >>>> >>>> >>>> >>>> -- >>>> Daniel Byrne >>>> Computer Science >>>> Varsity Cross-Country and Track & Field >>>> Student Athlete Advisory Committee >>>> >>>> _______________________________________________ >>>> gem5-users mailing list >>>> gem5-users@gem5.org >>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>> >>> >>> >>> _______________________________________________ >>> gem5-users mailing list >>> gem5-users@gem5.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >> >> >> >> -- >> Daniel Byrne >> Computer Science >> Varsity Cross-Country and Track & Field >> Student Athlete Advisory Committee >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users