c++ 記錄程序運行時間

低精度測量時間 頭文件web #include <time.h> 程序:svg clock_t start, end; start = clock(); // 測試的程序 std::cout << "time consume: " << (double)(clock() - start) / CLOCKS_PER_SEC << std::endl; 高精度測量時間 #include <chro
相關文章
相關標籤/搜索