1 2 3 4 5 6
#include <stdio.h> #include <unistd.h> int main() { printf("%ld\n", sysconf(_SC_CLK_TCK)); }