summaryrefslogtreecommitdiff
path: root/nacl/cpucycles/mips.h
blob: 6f1b26c30e7b4334c9b44df8b3d2f852e69e3c07 (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 mips.h version 20100802
D. J. Bernstein
Public domain.
*/

#ifndef CPUCYCLES_mips_h
#define CPUCYCLES_mips_h

#ifdef __cplusplus
extern "C" {
#endif

extern long long cpucycles_mips(void);
extern long long cpucycles_mips_persecond(void);

#ifdef __cplusplus
}
#endif

#ifndef cpucycles_implementation
#define cpucycles_implementation "mips"
#define cpucycles cpucycles_mips
#define cpucycles_persecond cpucycles_mips_persecond
#endif

#endif