목록수행시간 측정 (1)
일상 코딩
[C++/8.15] 수행 시간 측정
출처 https://gist.github.com/mcleary/b0bf4fa88830ff7c882d C++ Timer using std::chrono C++ Timer using std::chrono. GitHub Gist: instantly share code, notes, and snippets. gist.github.com #include #include #include #include class Timer { public: void start() { m_StartTime = std::chrono::system_clock::now(); m_bRunning = true; } void stop() { m_EndTime = std::chrono::system_clock::now(); m_bRunning ..
C++/따배C++ 08강 객체지향 기초
2021. 10. 27. 14:34