Atof/sscanf and sprintf are very slow - CodeWarrior for
ColdFire
We are using the standard C library functions (atof,
sprintf, sscanf) to
convert between character strings and doubles. When we do,
we experience
long delays of up to 30 milliseconds to do the conversion.
When we use
these functions to convert to integers we do not experience
any
significant delay. Do you know if these functions support
floating point
operations in the hardware? Are we using the correct
library? We are
trying to avoid having to write our own conversion
functions, but it is
hard to imagine that they would be any slower.
We are linking to the following libraries:
C++_4i_CF_FPU_MSl.a
C_4i_CF_CFPU_MSL.a
Cpp_4i_CF_FPU_Runtime.a
Any body have any thoughts
Gregg GRANVILLE
Hardware Engineering Manager
-------------------------------------
Tel 1 603.622.0212 / Fax 1 603.623.5623
ggranville metronics.com / www.metronics.com
--------------------------------------------------------
METRONICS /// 30 Harvey Road // Bedford, NH 03110-6818 / US
------------------------------------------------------------
--------
To Subscribe send a message to: ColdFire-On Lists.Wildrice.com
To Unsubscribe send a message to: ColdFire-Off Lists.Wildrice.com
For further information, visit: <http://www.Wild
Rice.com/ColdFire/>
|