Mountain
1.0.0
Simple C++ 2D Game Framework
|
C++ reimplementation of the .NET Stopwatch class. More...
#include <stopwatch.hpp>
Public Member Functions | |
void | Start () |
void | Stop () |
void | Reset () |
void | Restart () |
TimeSpan | GetElapsed () const |
int64_t | GetElapsedTicks () const |
double_t | GetElapsedMilliseconds () const |
double_t | GetElapsedSeconds () const |
Static Public Member Functions | |
static Stopwatch | StartNew () |
static int64_t | GetFrequency () |
static int64_t | GetTimestamp () |
static TimeSpan | GetElapsedTime (int64_t startingTimestamp) |
static TimeSpan | GetElapsedTime (int64_t startingTimestamp, int64_t endingTimestamp) |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Stopwatch &stopwatch) |
C++ reimplementation of the .NET Stopwatch class.
Provides a set of methods that can be used to accurately measure elapsed time.
Definition at line 14 of file stopwatch.hpp.