mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-23 15:02:27 +00:00
28 lines
495 B
C
28 lines
495 B
C
|
/*
|
||
|
cpucycles monotonic.h version 20100803
|
||
|
D. J. Bernstein
|
||
|
Public domain.
|
||
|
*/
|
||
|
|
||
|
#ifndef CPUCYCLES_monotonic_h
|
||
|
#define CPUCYCLES_monotonic_h
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
extern long long cpucycles_monotonic(void);
|
||
|
extern long long cpucycles_monotonic_persecond(void);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#ifndef cpucycles_implementation
|
||
|
#define cpucycles_implementation "monotonic"
|
||
|
#define cpucycles cpucycles_monotonic
|
||
|
#define cpucycles_persecond cpucycles_monotonic_persecond
|
||
|
#endif
|
||
|
|
||
|
#endif
|