mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-28 17:08:54 +00:00
28 lines
471 B
C
28 lines
471 B
C
|
/*
|
||
|
cpucycles cortex.h version 20100912
|
||
|
D. J. Bernstein
|
||
|
Public domain.
|
||
|
*/
|
||
|
|
||
|
#ifndef CPUCYCLES_cortex_h
|
||
|
#define CPUCYCLES_cortex_h
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
extern long long cpucycles_cortex(void);
|
||
|
extern long long cpucycles_cortex_persecond(void);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#ifndef cpucycles_implementation
|
||
|
#define cpucycles_implementation "cortex"
|
||
|
#define cpucycles cpucycles_cortex
|
||
|
#define cpucycles_persecond cpucycles_cortex_persecond
|
||
|
#endif
|
||
|
|
||
|
#endif
|