[PATCH] bsp/tms570: implemented support functions to satisfy complete
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Aug 21 12:33:01 UTC 2014
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.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list