Why do you need the src number of the cores? The Request object  
contains a cpuid/threadid that you can use for identifying which  
requests come from a CPU and what cpu that is.

Ali

On Nov 5, 2008, at 3:09 PM, Bob Nagel wrote:

> Hi Steve thanks for your answer, how can I know the src number of  
> the cores?, I have been trying to identify them by the access but I  
> only see dfierent src number accesing to the bus without a clear  
> pattern, do you know where is the source code in which is assigned  
> the src number to the cores?. Thank you.
>
> 2008/11/5 Steve Reinhardt <[EMAIL PROTECTED]>
> The bus IDs are essentially arbitrary... they're assigned by the bus
> as devices are connected to it, which happens in an uncontrolled
> fashion as the simulation objects are created.
>
> Note that the each object attached to the bus gets its own ID as well,
> so for example if you have split I and D caches then each of those
> caches will have its own ID.
>
> Steve
>
> On Wed, Nov 5, 2008 at 10:43 AM, Bob Nagel <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I am exploring the information that I get when I put the option
> > --trace-flags="bus", but I do not understand the criterium that it  
> is used
> > to assign a src number to the packets. If I do a simulation with 1  
> core, The
> > src number can have this values: 0,1,2, for 2 cores: 0,1,2,3, for 4
> > cores:0,1,3,5,7.
> >
> > Can anyone explain me what is the criterium to assign a source  
> number for
> > the cores, I am just interested in the packets that come from the  
> cores.
> > Thank you.
> >
> >
> >
> > _______________________________________________
> > m5-users mailing list
> > [email protected]
> > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
> >
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to