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.

关于for循环耗时问题



芯片是6455   pll配置x20 输入时钟是50Mhz  也就是说主频工作在1Ghz下,

运行 for(i=0;i<1000_000_000){}  应该运行时间是1秒才对,我用手机计时,大概是10左右;

难道运行一次空的for 循环不是 一次主频时间吗?