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.
在CCS5.5.0+TMS320F28035+XDS100V1环境下,调试SFO()函数的执行时间。测试函数:update_MepScaleFactor();
函数结构:
void update_MepScaleFactor( void )
{
/* MEP_ScaleFactor initialized using function SFO ()*/
while (SFO() == 0) {
} /* MEP_ScaleFactor calculated by MEP Cal Module */
}
测试方法:使用CCS5中的clock功能
结果:在step into调试下,update_MepScaleFactor()测得clock结果为2723。
在step over调试下,update_MepScaleFactor()测得clock结果为138599。
为何step into和step over两个方式下clock结果差距这么大?求解。。。。。。