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.
工具/软件:TI C/C++编译器
您好!
我正在尝试处理一些代码。 我正在分享两个代码片段、并想了解这两个代码片段中的哪一个运行得更快、为什么?
有关比较、请参阅 GIO_WriteToPin (SOC_GPIO_0_regs、3、13、GPIO_PIN_LOW)和 HWREG (ADR_CLR_DATA67)= GPIO_CLR_DATA_CLR13指令。
请提供帮助。
谢谢、
Pawan
大家好、Pawan、
我相信您可以在 CCS 中使用系统配置时钟来测量每个函数的周期数。 请参阅以下页面。
http://software-dl.ti.com/ccs/esd/documents/ccs_counting_cycles.html
此致、
Sahin