Hi ,
I am developing a multicore logging support in my C6670 device . I cannot use standard UIA Log_writex() api's because the setup is such that NDK is only used for communicating between ARM and DSP.
Anyways, i could see my logging api takes around 5000 CPU cycles , where as for the same log using UIA's log_write() takes around 700 CPU cycles which is a huge improvement. In my application 80 % of cpu cyles is wasted in sprintf() only. I was wondering how Log_writex() api's format the logs. Can you please give us some pointers to log_write() implementation which i can refert to, so that i can incorporate the same formatting logic in my application.
Thanks in advance for your support.
Thanks.,
Ankit