Thanks Pedro, But where can I find the definition of NOW. Would you tell me
in which files?
:)
2006/8/11, Pedro Fortuna <[EMAIL PROTECTED]>:
>
> Actually, I think it is exactly the same thing, as Now is defined as a
> "Scheduler::instance().clock()". You may even see in some places the
> macro "CURRENT_TIME". They are all macros for
> "Scheduler::instance().clock()".
>
> Regards,
> Pedro Fortuna
> INESC Porto
>
> On 8/10/06, Bie New <[EMAIL PROTECTED]> wrote:
> >
> > Dear all,
> >
> > I check some .CC files and find in some programs they use send_time =
> NOW,
> > but the other use send_time =Scheduler::instance().clock().
> >
> > Does anyone know what's the different between NOW and
> > Scheduler::instance().clock() ?
> >
> > in Scheduler.h/.cc
> >
> > class Scheduler : public TclObject {
> > public:
> > ......
> > double clock() const { // simulator virtual time
> > return (clock_);
> > }
> > .........
> > protected:
> > .........
> > double clock_;
> > ......
> > };
> >
>