ArrayFire: timing.h Source File
Go to the documentation of this file.
15#if defined(_WIN32) || defined(_MSC_VER)
17#elif defined(__APPLE__) && defined(__MACH__)
19 #include <mach/mach_time.h>
26namespace af {
30 #if defined(_WIN32) || defined(_MSC_VER)
31 LARGE_INTEGER val;
32 #elif defined(__APPLE__) && defined(__MACH__)
33 uint64_t val;
43} timer;
AFAPI double timeit(void(*fn)())
static AFAPI timer start()
static AFAPI double stop()
static AFAPI double stop(timer start)