Andreas Hansson via gem5-users <gem5-users <at> gem5.org> writes:
> > Hi Patrick, > > I suspect you are running in atomic mode (i.e. fast-forward mode). For the > CommMonitor to actually capture any stats you need to run in timing mode > (performance-modelling mode). > > In Syscall Emulation mode the separate TLB module is not used afaik. > > Andreas > > On 10/14/14, 8:51 PM, "Patrick L. via gem5-users" <gem5-users <at> gem5.org> > wrote: > > >Patrick L. via gem5-users <gem5-users <at> gem5.org> writes: > > > >> > >> I am using a CommMonitor to log all accesses to the L1. I wrote a > >>simple > >> program that mallocs some space and reads and writes to it. The program > >> also prints out the address returned by the call to malloc. However, in > >> looking at the log of L1 accesses, I don't see that address. Does > >>anyone > >> know why this might be getting left out? I am running in System Call > >> Emulation mode. > >> > > > >I see that the CommMonitor logs physical addresses. However, I also see > >in > >my simulation output that there are no TLB accesses taking place. I am > >guessing that perhaps gem5 is doing address translation somewhere besides > >the TLB. Is there a simple way to get a log of what address translations > >are taking place? > > > >Thanks and Regards, > >Patrick > > > > > >_______________________________________________ > >gem5-users mailing list > >gem5-users <at> gem5.org > >http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > Andreas, Thanks for the response. I have been running with the "--cpu- type=timing" option. I believe I found the answer to my question. I ran with the "--debug- flags=MMU" and it looks like its showing me how the translation is taking place. I think this is exactly what I need, but if you have any additional information that you think would be helpful, any such info is appreciated. Sorry for bottom-posting. It looks like the convention on this mailing list is to top-post, but the web interface won't let me do that. Thanks again and Regards, Patrick _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
