#include <time.h> clock_t start, end; start = clock(); 〜処理〜 end = clock(); printf("処理時間:%dミリ秒\n", end - start);