Skip to content

Instantly share code, notes, and snippets.

@hacst
hacst / playingwithchrono.cpp
Created March 17, 2012 09:12
Cross-platform, high-resolution time measurement using C++11's std::chrono
#include <iostream>
#include <chrono>
#include <thread>
using namespace std;
using namespace chrono;
int main()
{
cout << "Measurement resolution: " <<