I am using the fuction clock() to test the program running time in CCS 3.3
But the time tested by the function clock() is different the time tested manually with my mobilephone.
For example ,a program time tested by clock() is 160ms ,and when I run the program for 100 times,the time tested is near 160ms*100=16s.
But the time tested manually is more than 80 s.
furthernore ,the cpu clock is set to 600MHz. In the program the CLOCKS_PER_SEC is set to 200MHz.
So I expect the time tested manually is 16/3s=5s rather than 80s.