#include<clock.h>
Clock totalClock;
totalClock.Begin();
totalClock.End();
上面的clock类查看intel抓屏!
clock_t start, finish;
double cost = 0.0;
finish = clock();
cost = (double)(finish - start) / CLOCKS_PER_SEC;
#include<clock.h>
Clock totalClock;
totalClock.Begin();
totalClock.End();
上面的clock类查看intel抓屏!
clock_t start, finish;
double cost = 0.0;
finish = clock();
cost = (double)(finish - start) / CLOCKS_PER_SEC;