On 21/08/14 14:28, Pavel Pisa wrote:
Thanks for suggestion
On Thursday 21 of August 2014 14:08:51 Sebastian Huber wrote:
For the _CPU_Counter_difference() please use
c/src/lib/libbsp/shared/cpucounterdiff.c
You need also a call to rtems_counter_initialize_converter() with the right
frequency.
Is this used for _CPU_Counter_read (160 MHz in our case) or for
benchmark_timer_read (1 MHz in our case now).
It is used rtems_counter_delay_nanoseconds() function which uses
_CPU_Counter_read().
Or should we use
_CPU_Counter_read for benchmark_timer_read to unify these?
It is possible to write a benchmark timer which uses the CPU counter and works
for all BSPs. I simply had no time yet to do this.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel