求教6713bios中求周期数API函数的调用使用问题?
timer1=clk_gethtime(); //这个函数的时钟源是哪个,单位是多少
....processing...
timer2=clk_gethtime();
CPUcycles=(time2-time1)*CLK_cpuCyclesPerHtimer();//这个CLK_cpuCyclesPerHtimer()函数是根据哪个的时钟源得到的。
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.
求教6713bios中求周期数API函数的调用使用问题?
timer1=clk_gethtime(); //这个函数的时钟源是哪个,单位是多少
....processing...
timer2=clk_gethtime();
CPUcycles=(time2-time1)*CLK_cpuCyclesPerHtimer();//这个CLK_cpuCyclesPerHtimer()函数是根据哪个的时钟源得到的。