summaryrefslogtreecommitdiff
path: root/nacl/cpucycles/x86estimate.h
blob: 98f2dd157032c0664c4017cdc74d602eb23ba43b (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 x86estimate.h version 20070121
D. J. Bernstein
Public domain.
*/

#ifndef CPUCYCLES_x86estimate_h
#define CPUCYCLES_x86estimate_h

#ifdef __cplusplus
extern "C" {
#endif

extern long long cpucycles_x86estimate(void);
extern long long cpucycles_x86estimate_persecond(void);

#ifdef __cplusplus
}
#endif

#ifndef cpucycles_implementation
#define cpucycles_implementation "x86estimate"
#define cpucycles cpucycles_x86estimate
#define cpucycles_persecond cpucycles_x86estimate_persecond
#endif

#endif