Files
FEX-Emu--FEX/ThunkLibs/libVDSO/libVDSO_interface.cpp
T
Paulo Matos 2b4ec88dae Whole-tree reformat
This follows discussions from #3413.
Followup commits add clang-format file, script and blame ignore lists.
2024-04-12 16:26:02 +02:00

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