[Peeweelinux] time stamp

Jan De Geeter [email protected]
Wed, 23 Oct 2002 08:42:11 +0200


Jim,

gettimeofday gives you microsecond timing (from the processor clock).
See the man pages.

Jan

> -----Original Message-----
> From: Jim Graham [mailto:[email protected]]
> Sent: dinsdag 22 oktober 2002 19:43
> To: [email protected]
> Subject: [Peeweelinux] time stamp
> 
> 
> Hi
> 
>    This question is more general than PeeWee Linux but I would
> appreciate any suggestions.  We are running PeeWee Linux on a 
> Cyrix 686
> processor (Geode) in a PC-104 stack.  The processor monitors several
> sensors @ 20 Hz. and feeds the data to a filter.  The 
> measurements need
> to be tagged with a time stamp that has a resolution < 0.1 msec.  Any
> suggestions on how to get that time resolution without the use of
> external counters?
> 
> -- thanks
>     jim
>