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.

TSCL使用有要求么



您好!

我在工程中想测量一个函数的执行时间,在程序里,添加了如下语句:

#include  <csl_tsc.h>

CSL_tscEnable();

uint32    start,cycle;

start = TSCL;

func();

cycle = TSCL - start;

但是编译时报错,说TSCL未定义,请问是怎么回事?