Skip to content

Instantly share code, notes, and snippets.

@loriopatrick
Created October 24, 2017 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loriopatrick/4221286242c6e29c94d4bd0ee06485a4 to your computer and use it in GitHub Desktop.
Save loriopatrick/4221286242c6e29c94d4bd0ee06485a4 to your computer and use it in GitHub Desktop.
auto end = std::chrono::high_resolution_clock::now();
std::cout << (((float) std::chrono::duration_cast<std::chrono::nanoseconds>(end - start).count()) / 1000000.0f) << " milliseconds" << std::endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment