摘要:
#include <iostream>#include <time.h>#include <math.h>using namespace std;typedef long long int int64;int64 GetTickCount(){ timespec now; clock_gettime(CLOCK_MONOTONIC, &now); int64 sec = now.tv_sec; int64 nsec = now.tv_nsec; return sec*1000 + nsec/1000000;}void cpu_sin(){ const 阅读全文