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.

测试CPU计算速度



我用ccs编了一个for循环在debug模式下做了50000次浮点型乘法运算,然后配置一个IO口输出高低电平,用示波器看波形和时间,最终得到1ms可以计算9000+次乘法,是不是因为配置了IO口,要访问IO才导致速度这么慢?这时候数据应该是在RAM吧,理论上速度应该很快啊。