Hi, I need to get the CPU frequency programmatically, how do I do that? printf("%d\n",sysconf(_SC_CLK_TCK)); printf("%d\n", CLOCKS_PER_SEC); does not help, they show the same value (128) on different machines with different CPU speed. Regards, Abhay