[reSIProcate] Re: StatisticManager? value of mNextPoll

julien thai julienresiprocate at gmail.com
Mon May 16 09:21:33 CDT 2005


Sorry,
 If (Timer::GetTimeMS >= mNextPoll)
if true. what will be happened?
 The poll() is called, then mNextPoll = mNextPoll + mInterval 
 ( mInterval = 60000 )
What is the purpose here?
  

 On 5/16/05, julien thai <julienresiprocate at gmail.com> wrote: 
> 
> Dear all,
>  i found the declaration of mNextPoll:
> 
> mNextPoll(Timer::getTimeMs() + mInterval)
> it measn that the value of (Timer::GetTimeMS() >=mNextPoll) is always 
> false in win32.
> 
> Then so if ( Timer::GetTimeMs < mNextPoll),
> what will be happend?
>  Thank for your explain.
>  Julien
>   
> 
>  On 5/16/05, julien thai <julienresiprocate at gmail.com> wrote: 
> > 
> > Dear All,
> >  Someone can help me to find out the value of mNextPoll.
> > Cos i didn't find where you declare the value of mNextPoll.
> > But i see the value of mNextPoll is 12760723077441.
> >  And in the case,if (Timer:getTimeMS()>=mNextPoll) is true
> > can you explain to me the role of poll().
> >  Thank you so much
> > Julien
> >  StatisticsManager::process()
> > 
> > {
> > if (Timer::getTimeMs() >= mNextPoll) {poll();
> > mNextPoll += mInterval;
> > }
> > 
> > }
> > 
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050516/8619a480/attachment.htm>


More information about the resiprocate-devel mailing list