Microseconds per tick

Aitor.Viana.Sanchez at esa.int Aitor.Viana.Sanchez at esa.int
Fri Mar 27 08:22:29 UTC 2009


Hi,

somebody will correct me if i am wrong.

RTEMS time functionality operates with clock_tics granularity, for 
instance that a task can only sleep for a integer number of clock ticks. 

e.g.
#define CONFIGURE_MICROSECONDS_PER_TICK 20000 /* 20 ms per clock tick */


Best regards,

Aitor

rtems-users-bounces at rtems.org wrote on 03/27/2009 09:11:56 AM:

> 
> Hi all,
> 
> I'm quite new to RTEMS and I'm not very experienced so I hope you 
> can give me an hand!
> 
> We are working with a board using a LEON2 Sparc processor running at
> 80Mhz, I figured that the microseconds per tick value would be 0.
> 0125 (is this correct?).
> 
> Shall I simply configure my application with this define ? #define 
> CONFIGURE_MICROSECONDS_PER_TICK 0.0125 ?
> 
> I hope you can help, thanks in advance.
> 
> Léonard. 
> 
> ps: By the way I posted once using the wrong mail address and it 
> said it was awaiting approval from the moderators, please delete 
> this one. This is the correct address.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20090327/62698f6a/attachment-0001.html>


More information about the users mailing list