mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-28 00:48:54 +00:00
bf9710fd5a
This only affects build_android, if nacl-gcc-prep is run then build/`uname -s` will be created.
28 lines
511 B
C
28 lines
511 B
C
/*
|
|
cpucycles x86cpuspeed.h version 20090716
|
|
Matthew Dempsky
|
|
Public domain.
|
|
*/
|
|
|
|
#ifndef CPUCYCLES_x86cpuspeed_h
|
|
#define CPUCYCLES_x86cpuspeed_h
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern long long cpucycles_x86cpuspeed(void);
|
|
extern long long cpucycles_x86cpuspeed_persecond(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#ifndef cpucycles_implementation
|
|
#define cpucycles_implementation "x86cpuspeed"
|
|
#define cpucycles cpucycles_x86cpuspeed
|
|
#define cpucycles_persecond cpucycles_x86cpuspeed_persecond
|
|
#endif
|
|
|
|
#endif
|