请教下,我把原来放在片内的函数和变量放在了片外,但是代码执行时间没有变变化是为什么啊(拉IO测试的时间)
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.
你好,
1 我查看了 CSR->PCC CSR->DCC 他们都是 0
2 我用了一个 int tempTest 变量进行对比测试 :
int tempTest[8200] = {0};
void testPian()
{
int i = 0;
for(i = 0;i<8200;i++)
{
tempTest[i]++;
}
}
a 8200以下 的代码执行时间一样
b 8200 -> 8600 代码执行时间不一样了