[etherlab-users] get_cycles() and cpu_khz
Sergej Stepanov
Sergej.Stepanov at ids.de
Tue Apr 29 08:44:49 CEST 2008
> Hi everyone,
>
> I'm currently developing on the EtherCAT master release 1.4.
>
> I got some feedback from some serveral people, that they had problems to
> compile the master because the get_cycles() and cpu_khz functionality is
> only available on some Intel architectures. I did some research: It
> looks as though the symbols are defined for all architectures, but if
> the timestamp counter is not avaliable, the get_cycles() returns zero.
>
> Does this match with your experiences?
>
If i am correct, you need it for timers.
I hope that you will have real multiplatform solution with hrtimers.
CONFIG_HIGH_RES_TIMERS=y
Regards.
--
Dipl.-Ing. Sergej Stepanov
Software-Entwicklung
IDS GmbH
E-PA (Entwicklung - Prozess Automatisierung)
Nobelstr. 18,
D-76275 Ettlingen
T. (0) 72 43/2 18-615
F. (0) 72 43/2 18-100
E. Sergej.Stepanov at ids.de
<http://www.ids.de>
Geschäftsführer: Norbert Wagner, Friedrich Abriß
Sitz der Gesellschaft: Ettlingen
Amtsgericht Mannheim HRB 362503
More information about the Etherlab-users
mailing list