Is it that if I got a stats file without 'totBandwidth' or 'txPackets', it 
means that such statistics hasn't been registered? However, these statistics 
belong to ethernet dev which was exacuted during the running of application. 
So, I wonder why sometimes, after sampling from the same application, there 
is 'totBandwidth' and 'txPackets', while sometimes, these stats were not 
included.

Thanks,
Yu 

On Thursday 17 August 2006 15:45, you wrote:
> What this means is just that in order for stats to be taken, the statistic
> has to be "registered" with the simulation during startup.  During
> initialization and startup, there is a regStats phase that walks through
> all simObjects to register the statistics pertaining to that object.  If
> you look at some objects like the CPU or the ethernet device, you should
> see some good examples of how to do this.  the key is that every stat must
> be registered in the regStats function.
>
> good luck.
> lisa
>
> On 8/17/06, Yu Zhang <[EMAIL PROTECTED]> wrote:
> > On the tutorial, it was said 'M5 has phases, once it moves to the running
> > phase, no new stats'. I'd like to know how to avoid the running phase to
> > make
> > sure that correct stats will be dumped. Now I'm in trouble, because
> > sometimes
> > after several hours' sampling, I couldn't get the correct output
> > statistics.
> > Need help!
> >
> > Thanks,
> > Yu
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > m5sim-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/m5sim-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to