Changes between Version 2 and Version 3 of Old/Documentation/OTG/FuncSpec/TimingControl


Ignore:
Timestamp:
Sep 30, 2005, 4:22:36 PM (19 years ago)
Author:
zhibinwu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Documentation/OTG/FuncSpec/TimingControl

    v2 v3  
    2121== How to get Absolute time ==
    2222
     23When the UnixTime object is constructed, it will get system time and set the reference point to the 12am of "today".
     24Therfore, packet tx_timestamp and rx_timestamp are reporting the milliseconds passed since the 12am of the experiment day.
     25As long as the nodes are NTP synced, the comparison of stamps to calculate delay would be no problem.
     26
     27For experiments around 12am, this is still an incomplete solution.
     28So --clockref parameters are added in both OTG/OTR. The nodehandler could give an integer number to this option when starting otr/otg, to caliberating
     29the timestamp-clock reference.
     30This integer is the # of hours passed since 01/01/1970, for example, 313171 will shift the clock reference to 3pm 09/22/2005. I suggest nodehandler add
     31a routine to calculate this number and passed it to otg/otr along with oml-name, oml-config...
     32
    2333
    2434== TimeStamp Report in Measurements ==