Sha256: 0bd33feb664e014582b9812096c1d0e69f0dee9840752b08c6f24c1e564e18e3
Contents?: true
Size: 326 Bytes
Versions: 21
Compression:
Stored size: 326 Bytes
Contents
#pragma once #include <chrono> namespace Pixlib { class Timer { public: Timer(unsigned int smoothing = 1); void start(); void end(); float duration(); private: std::chrono::time_point<std::chrono::high_resolution_clock> start_time; unsigned int smoothing; float previous_duration; }; }
Version data entries
21 entries across 21 versions & 1 rubygems