How to measure time
Posted: Mon Apr 29, 2013 12:40 pm
Hello,
how I can to measure time with the function?
I am using FLEX FULL board. I need any special include in my code?
Now I put something like this in my code:
and I am obtaining this error:
Exists another way to measure time?
Thanks
how I can to measure time with the function
Code: Select all
TimeAbsType GetTime()
I am using FLEX FULL board. I need any special include in my code?
Now I put something like this in my code:
Code: Select all
TimeAbsType t = GetTime();
Code: Select all
error: syntax error before 't'
warning: type defaults to 'int' in declaration of 't'
warning: implicit declaration of function 'GetTime'
error: initializer element is not constant
warning: data definition has no type or storage class
Thanks