This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

arm linux中如何获取某个函数执行的cycle数

编写汇编后,我想对比想C和汇编的时间,网上查了下看了很多说是用clock_gettime(CLOCK_REALTIME, &time_start);获取时间,我想直接获取函数执行的周期数该怎么办?