Hi, How are you incrementing the "time_elapse" ?
You can to use sleep system call after Engine_getCpuLoad(engine). It appears that you are not using this. With best regards, Venkatachala Upadhya| Extn: 65395| -- From: [email protected] [mailto:[email protected]] On Behalf Of ranjith ka Sent: 11 March, 2009 10:45 AM To: [email protected] Subject: [DM6446] Engine_getCpuLoad call crashes Hi all, I am trying to get the average DSP load by calling the CE API - Engine_getCpuLoad at the rate of 1 call per two seconds. This leads to system crash (and linux becomes non-responsive thereafter) in about 30 minutes. Has anybody faced similar issues. Is there any limit on number of times or the frequency at which this API can be called? Following is the call sequence, While(1) { if(time_elapse > 2 seconds) { load = Engine_getCpuLoad(engine) } } Kindly let me know if you have any relavent information. Regards, Ranjith ________________________________ http://www.mindtree.com/email/disclaimer.html
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
