#include <time.h> #include <stdio.h> int main() { clock_t start, end; start = clock(); // 시간 측정을 실행할 함수.. end = clock(); printf("[time : %f]\\n", (float)(end - start)/CLOCKS_PER_SEC); }