Hi, ALL. I have two questions:
1. I start a timer in my program, after it starts, the scheduler doesn't call the corresponding expire function. My timer starts by calling sched(double time), the prompted message is : ns: scheduler going backwards in time from 0.500056 to 0.000000. I logged the uid_ of each event, the last message shows that the uid_ in dispatch function of my timer becomes to 0: dispatch: uid_ = 0, t = 0 However, the uid_ of any event should not less than 1, which is defined scheduler.cc: scheduler_uid_t Scheduler::uid_ = 1; and increased after inserting new events. 2. No matter I run my tcl file or wireless-simple-mac.tcl, the log file looks both like this: _sched: uid_ = 13, delay = -26815615859885194199148049996411692254958731641184786755447122887443528060147093953603748596333806855380063716372972101707507765623893139892867298012168192.000000, time_ = 26815622157316114716836864794584393907134232303237611718236021617252959710777447636303506412841121867287875011897335326771847183507644871101570470356451328.000000 the delay and time values seems so strange, but the log in dispatch function is right : dispatch-2: uid_ = 13, t = 0.500055 So what's the reason ? Thanks, any suggestions will be appreciated. -- Su Jinzhao(苏金钊)