mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-22 22:42:28 +00:00
28 lines
519 B
C
28 lines
519 B
C
|
/*
|
||
|
cpucycles amd64cpuinfo.h version 20100803
|
||
|
D. J. Bernstein
|
||
|
Public domain.
|
||
|
*/
|
||
|
|
||
|
#ifndef CPUCYCLES_amd64cpuinfo_h
|
||
|
#define CPUCYCLES_amd64cpuinfo_h
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
extern long long cpucycles_amd64cpuinfo(void);
|
||
|
extern long long cpucycles_amd64cpuinfo_persecond(void);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#ifndef cpucycles_implementation
|
||
|
#define cpucycles_implementation "amd64cpuinfo"
|
||
|
#define cpucycles cpucycles_amd64cpuinfo
|
||
|
#define cpucycles_persecond cpucycles_amd64cpuinfo_persecond
|
||
|
#endif
|
||
|
|
||
|
#endif
|