ONE_SHOT_MODE vs. PERIODIC_MODE

"Vandenbroucke Sander" <[email protected]> Fri, 8 Apr 2005 17:12:51 +0200
Newsgroups gmane.science.robotics.orocos.user
Message-ID <[email protected]>
Hello,
 
I kinda remimber asking a question like this before... 
 
Anyway:
What is the benefit of using the rtai timer in one shot mode and not in periodic mode?
 
Something else:
I've extended the interface of the TimerService class with a getNSecs() and getNSecs(nsecs relativeTime) function. It does the same as getTicks() but returns nsecs instead of ticks using the rt_get_cpu_time_ns() call. This gives the time in ns regardless of the type of timer mode that is used. I could send a patch, but it will have to wait until monday.
 
Kind regards
NV Michel Van de Wiele
 
Sander Vandenbroucke
 
[email protected]
 
  _____  

Van de Wiele Company or its affiliates do not accept legal responsibility for the contents of this message.  The views or opinions presented are solely those of the author and do not necessarily represent those of Van de Wiele Company or any of its affiliates.
  _____

_______________________________________________
Orocos mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos