This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <chrono> | |
namespace jg | |
{ | |
class stopwatch final | |
{ | |
using clock = std::chrono::high_resolution_clock; | |
clock::time_point m_start = clock::now(); |