I use AMD FX 4300
with 3.8GHz
, that means 3.8G
clocks per sec.
But when I run the command CLOCKS_PER_SEC
it shows something else.
#include <time.h>
#include <stdio.h>
int main()
{
printf("%lu\n",CLOCKS_PER_SEC);
return 0;
}
it shows: 1000
Is it right?
Is there any problem in my processor or the working of this program?