[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Laurent.Kersten@alcatel.be] (fwd)



>From owner-rtl Wed Jun  6 03:51:22 2001
Received: from relay1.alcatel.be (alc119.alcatel.be [195.207.101.119])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f569pLC15796
	for <rtl@fsmlabs.com>; Wed, 6 Jun 2001 03:51:21 -0600
Received: from bemail04.net.alcatel.be (localhost [127.0.0.1])
	by relay1.alcatel.be (8.10.1/8.10.1) with SMTP id f569jjq24584
	for <rtl@fsmlabs.com>; Wed, 6 Jun 2001 11:45:45 +0200 (MET DST)
Received: by bemail04.net.alcatel.be(Lotus SMTP MTA v4.6.7  (934.1 12-30-1999))  id C1256A63.00359CC5 ; Wed, 6 Jun 2001 11:45:35 +0200
X-Lotus-FromDomain: ALCATEL
From: Laurent.Kersten@alcatel.be
To: rtl@fsmlabs.com
Message-ID: <C1256A63.00359A39.00@bemail04.net.alcatel.be>
Date: Wed, 6 Jun 2001 11:45:27 +0200
Subject: Re: [rtl] Getting current day and time under RTLinux
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline



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" <mledouarain@garbarini.com> on 06/05/2001 05:38:40 PM

Please respond to rtl@fsmlabs.com
                                                              
                                                              
                                                              
 To:      rtl@fsmlabs.com                                     
                                                              
 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 owner-rtl@fsmlabs.com -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/



----- End of forwarded message from owner-rtl@fsmlabs.com -----