This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

The processing delay of function

Hi All,

I was using C6670 to impletement WCDMA Communication protocol stack. Because of the multi-threaded architecture of protocol stack, my project is based on Sys/Bios 6_33_06_50.

There are some functions which wil be called in a task thread periodically in my project. I use C to implement those functions.


The issue I am facing is that,with the increase in the number of calls, the processing delay of those functions is also growing,e.g. the processing delay of the functon A when it's called first time is 10us; 11us when seconed time; 13us third time,and so on. And the input of those functions is very similar or the same.
And the whole system will collapse because of those increaseing processing delay after running a long time.
But the processing delay is all the same when those function is tested individually, e.g. I call function A many times using for(), and the delay is always 10us every time.
So I thougth, more likely there might be some problems in my porject(such as I ignored rules of task? ) and not those functions' bug.

But I do not know what might be the problem, how to locate and fix them.

Anybody can give me some advice?

Thanks in Advance.

liang.