Advertisement
leviathan0117

C++ execution time

Oct 26th, 2021
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. auto start = std::chrono::steady_clock::now();
  2. // insert here
  3. std::cout << std::chrono::duration <double, std::milli> (std::chrono::steady_clock::now() - start).count() << " ms\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement