mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-28 17:08:54 +00:00
28 lines
527 B
C
28 lines
527 B
C
|
/*
|
||
|
cpucycles amd64cpuspeed.h version 20090716
|
||
|
Matthew Dempsky
|
||
|
Public domain.
|
||
|
*/
|
||
|
|
||
|
#ifndef CPUCYCLES_amd64cpuspeed_h
|
||
|
#define CPUCYCLES_amd64cpuspeed_h
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
extern long long cpucycles_amd64cpuspeed(void);
|
||
|
extern long long cpucycles_amd64cpuspeed_persecond(void);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#ifndef cpucycles_implementation
|
||
|
#define cpucycles_implementation "amd64cpuspeed"
|
||
|
#define cpucycles cpucycles_amd64cpuspeed
|
||
|
#define cpucycles_persecond cpucycles_amd64cpuspeed_persecond
|
||
|
#endif
|
||
|
|
||
|
#endif
|