* setting omap into idle for some ms
@ 2006-06-27 8:39 Martin Margraf
0 siblings, 0 replies; only message in thread
From: Martin Margraf @ 2006-06-27 8:39 UTC (permalink / raw)
To: linux-omap-open-source
hi,
i try to set the osk5912 Rev. D with 2.6.16.18 for 5 ms into idle.
i looked for this and found the nanosleep() function, wich send the omap into sleep for ns-ms. it works fine, but during this sleep
the cpu is 100% busy, wich is a problem, cause i would test the cpu usage of my ecg algorithm.
i heard that nanosleep uses for sleep times <=2ms a busy loop, but i use 5ms, where is the problem?
another problem is that i cannot display float in the ttyS0 console. for example:
float i = 3.4143;
printf(".....%f\n",i); is displayed as long long number
i tried to declare the number as double, same problem. the same with every format like %5.6f.
does someone has the same prob?
regards
martin
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-27 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-27 8:39 setting omap into idle for some ms Martin Margraf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.