Initial commit

This commit is contained in:
Jan Potocki
2019-11-17 21:02:29 +01:00
commit bbc24df31f
16 changed files with 1623 additions and 0 deletions
Executable
+23
View File
@@ -0,0 +1,23 @@
#include "Stopwatch.h"
Stopwatch::Stopwatch()
{
//ctor
// Jan Potocki 2017-2019
}
void Stopwatch::start()
{
tstart = std::chrono::steady_clock::now();
}
void Stopwatch::stop()
{
tstop = std::chrono::steady_clock::now();
measurement = tstop - tstart;
}
double Stopwatch::read()
{
return measurement.count();
}