mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-09 19:00:20 +02:00
This follows discussions from #3413. Followup commits add clang-format file, script and blame ignore lists.
28 lines
577 B
C++
28 lines
577 B
C++
#include <common/GeneratorInterface.h>
|
|
|
|
#include <sched.h>
|
|
#include <sys/time.h>
|
|
#include <time.h>
|
|
|
|
#include "Types.h"
|
|
|
|
template<auto>
|
|
struct fex_gen_config {};
|
|
|
|
template<>
|
|
struct fex_gen_config<time> {};
|
|
template<>
|
|
struct fex_gen_config<gettimeofday> {};
|
|
template<>
|
|
struct fex_gen_config<clock_gettime> {};
|
|
template<>
|
|
struct fex_gen_config<clock_getres> {};
|
|
template<>
|
|
struct fex_gen_config<getcpu> {};
|
|
|
|
#if __SIZEOF_POINTER__ == 4
|
|
extern int clock_gettime64(clockid_t __clock_id, struct timespec64* __tp) __THROW;
|
|
template<>
|
|
struct fex_gen_config<clock_gettime64> {};
|
|
#endif
|