summaryrefslogtreecommitdiff
path: root/nacl/cpucycles/amd64tscfreq.h
blob: a3c7aa6fa543138ea9efcc489bc95a63b12ce2e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
cpucycles amd64tscfreq.h version 20060318
D. J. Bernstein
Public domain.
*/

#ifndef CPUCYCLES_amd64tscfreq_h
#define CPUCYCLES_amd64tscfreq_h

#ifdef __cplusplus
extern "C" {
#endif

extern long long cpucycles_amd64tscfreq(void);
extern long long cpucycles_amd64tscfreq_persecond(void);

#ifdef __cplusplus
}
#endif

#ifndef cpucycles_implementation
#define cpucycles_implementation "amd64tscfreq"
#define cpucycles cpucycles_amd64tscfreq
#define cpucycles_persecond cpucycles_amd64tscfreq_persecond
#endif

#endif