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

Microseconds per tick



Leonard Bise wrote:
> 
> 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 ?

No. The question is how many micro seconds shall elapse per system tick?
Suppose you want 10000 micro seconds per tick, then you define

#define CONFIGURE_MICROSECONDS_PER_TICK 10000

It is the duty of the kernel and BSP to make the appropriate settings for each
configuration option.

> 
> 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


-- 
Sebastian Huber, Embedded Brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request

Diese Nachricht ist keine gesch?ftliche Mitteilung im Sinne des EHUG.