RTAI have do_gettimeofday_nolock which is a RT compatible variable of the kernel 
function do_gettimeofday, however, I have no idea how precise is it actually, I would 
suspect a resolution of about 10ms (linux tick). but I have no ideas of the actual
precision.


Laurent





"Marc LE DOUARAIN" <[EMAIL PROTECTED]> on 06/05/2001 05:38:40 PM

Please respond to [EMAIL PROTECTED]
                                                              
                                                              
                                                              
 To:      [EMAIL PROTECTED]                                     
                                                              
 cc:      (bcc: Laurent KERSTEN/BE/ALCATEL)                   
                                                              
                                                              
                                                              
 Subject: [rtl] Getting current day and time under RTLinux    
                                                              





Hello Mailing-List !

How can I get time (day, month, year + hour, min, sec) under a RTLinux thread?
I know the classic functions under Linux : gmtime() , localtime() , time() ... but 
under RTLinux?

Many thanks for help.


----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/



----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to