mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-06 01:34:17 +05:00
fix timings
This commit is contained in:
parent
e545cfbbda
commit
ec21cc3762
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user