#include <sys/syscall.h> #include <stdio.h> #include <unistd.h> int main() { printf("clock ticks per second = %ld\n", sysconf(_SC_CLK_TCK)); return 0; }
#include <sys/syscall.h> #include <stdio.h> #include <unistd.h> int main() { printf("clock ticks per second = %ld\n", sysconf(_SC_CLK_TCK)); return 0; }
转载于:https://www.cnblogs.com/jingyg/p/10278606.html