#include <time.h>
.....
clock_t start, end;
double duration;
start = clock();
// DO SOMETHING
end = clock();
duration = ( (double)(end - start) / CLOCKS_PER_SEC );
........
'DIGITory > Codes' 카테고리의 다른 글
Test Random apk (3) | 2016.04.13 |
---|---|
GNU Make 강좌 (0) | 2014.12.16 |