15#if defined(_WIN32) || defined(_MSC_VER)
17#elif defined(__APPLE__) && defined(__MACH__)
19 #include <mach/mach_time.h>
30 #if defined(_WIN32) || defined(_MSC_VER)
32 #elif defined(__APPLE__) && defined(__MACH__)
#define AFAPI
Definition defines.h:31
AFAPI array sum(const array &in, const int dim=-1)
C++ Interface for sum of elements in an array.
Definition algorithm.h:15
AFAPI double timeit(void(*fn)())
Internal timer object.
Definition timing.h:29
struct timeval val
Definition timing.h:35
static AFAPI timer start()
static AFAPI double stop()
static AFAPI double stop(timer start)