This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _SYRAH_CYCLE_TIMER_H_ | |
#define _SYRAH_CYCLE_TIMER_H_ | |
#if defined(__APPLE__) | |
#if defined(__x86_64__) | |
#include <sys/sysctl.h> | |
#else | |
#include <mach/mach.h> | |
#include <mach/mach_time.h> | |
#endif // __x86_64__ or not |