C语言代码实现
#include <stdio.h>
#include <unistd.h>
int main()
{
long ticks_per_second = sysconf(_SC_CLK_TCK);
printf("每秒的clock tick数量:%ld\n", ticks_per_second);
return 0;
}
C语言代码实现
#include <stdio.h>
#include <unistd.h>
int main()
{
long ticks_per_second = sysconf(_SC_CLK_TCK);
printf("每秒的clock tick数量:%ld\n", ticks_per_second);
return 0;
}