st3w / StopWatch

This is a very basic C++11 stopwatch implementation using <chrono>

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

StopWatch s;
/* Timed stuff here */
s.tick();
/* Other stuff */
float dt = s.getTimeElapsed();

or

StopWatch s;
/* Other stuff */
s.tick();
/* Timed stuff here */
s.tick();
/* Other stuff */
float dt = s.getTimeElapsed();

About

This is a very basic C++11 stopwatch implementation using <chrono>


Languages

Language:C++ 100.0%