Skip to content

Instantly share code, notes, and snippets.

Willy Scheibel scheibel

Block or report user

Report or block scheibel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
scheibel / gist:e08e8b586fb6f487a8d7
Created Sep 16, 2015
C++ time measurement with STL
View gist:e08e8b586fb6f487a8d7
#include <chrono>
#include <iostream>
int main()
auto start = std::chrono::high_resolution_clock::now();
std::cout << std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now() - start).count() << "ms" << std::endl;
You can’t perform that action at this time.