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.

TMS320C6678: DSP程序指令运行时间

Part Number: TMS320C6678

如果C6678的频率1GB下工作,一般情况运行一条指令周期1ns吗? 但是运行程序通过下面方式读取:

uint32 start ,end 

start = _itoll (TSCH, TSCL);

//start = TSCL;
...
end = _itoll (TSCH, TSCL);

//end = TSCL;

printf("%d DSP-cycles\n",end-start);
发现每条指令计数脉冲个数最少4-7个,为何?

  • 您好,

    在理论上,如果C6678的运行频率为1GHz,那么每条指令的执行时间应该是1ns。然而,在实际情况下,由于现代处理器的复杂性和内部架构,单条指令的执行时间可能会受到多种因素的影响,导致实际的执行时间略有不同。