Hello
> >matrix_df hotmail wrote: > > Hello Jan > > > > Just a question to your output of your test program > >> cycle #3500, time 1155262131.598494530 s, offset 3309740011269 ns > > > > Is the time printed the exact cycle time on local host or the output of > > a gettime function (which one)? > >See the example code: its the local time + the master clock offset. Which example code? Can I read t he offset from user mode? How? > > > How can I get the the exact time of a cycle start? > >Mmm, only by extending rtmac_waitinfo so that this value is returned as >well. Is this data only informative for you or do you plan to derive >some application functionality from it? To know the exact start of a cycle would be good to caculate the time the xmit thread must be started earlier to send data within the same cycle. It would be also valueable for profiling. > > > Is the output of the offset from a call to > > ioctl_rt(tdma, RTMAC_RTIOC_TIMEOFFSET, &time_offset) ? > > > >That's the offset between master and slave clock for this cycle. It says >nothing about he cycle start. I know. >Jan Jochen ------------------------------------------------------------------------- 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 _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users