Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-embedded@g.o>
From: "Morgan, Austin D." <AUSTIN.D.MORGAN@...>
Subject: RE: more than 1s precise time
Date: Wed, 11 Oct 2006 13:52:08 -0500
There are many methods to accomplish the task you have presented.  The
first an probably most used is gettimeofday.  You have clock_gettime so
you can select what time source you would like to reference.  You also
have Assessors for the RTC system.  It all depends on what it is you
would like to do.  My advice is check out man 7 time.

Austin Morgan

-----Original Message-----
From: gentoo-embedded+bounces-1351-AUSTIN.D.MORGAN=saic.com@g.o
[mailto:gentoo-embedded+bounces-1351-AUSTIN.D.MORGAN=saic.com@g.o
] On Behalf Of Jakub Ladman
Sent: Wednesday, October 11, 2006 9:43 AM
To: gentoo-embedded@g.o
Subject: [gentoo-embedded] more than 1s precise time


Hi there.

Please excuse me my OT question.

Please let me know how to get at least 0.1 second precise time. I do not
need 
any relation with real time, it may be time from system start or vice
versa. I need to store time to compare it with newer value in the future
to detect 
timeouts. 

Can you help me?

Jakub Ladman
-- 
gentoo-embedded@g.o mailing list

-- 
gentoo-embedded@g.o mailing list


Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
more than 1s precise time
Next by thread:
[x86-uclibc-2006.1] GCC-4.1.x + uClibc-0.9.28 + procps-3.2.x = Segmentation Fault ?
Previous by date:
more than 1s precise time
Next by date:
Re: more than 1s precise time


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.