Created
July 26, 2016 08:44
-
-
Save jnst/798546a7879fb7ced083fb51be888b5a to your computer and use it in GitHub Desktop.
C++11で処理速度の計測
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto start = std::chrono::system_clock::now(); | |
// ----- | |
// 処理 | |
// ----- | |
CCLOG("1: %lld マイクロ秒", std::chrono::duration_cast<chrono::microseconds>(chrono::system_clock::now() - start).count()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment