fix timings

This commit is contained in:
Matthias Hochsteger 2020-12-04 16:37:27 +01:00
parent e545cfbbda
commit ec21cc3762

View File

@ -7,6 +7,7 @@
#include <ostream>
#include <sstream>
#include <string>
#include <mach/mach_time.h>
/*
#ifdef WIN32
@ -54,9 +55,11 @@ namespace ngcore
inline TTimePoint GetTimeCounter() noexcept
{
return mach_absolute_time();
// return __builtin_readcyclecounter();
// return TTimePoint(__rdtsc());
// return TTimePoint(__builtin_readcyclecounter());
return TTimePoint(0);
// return TTimePoint(0);
}
template <class T>