diff options
Diffstat (limited to 'nacl/cpucycles/sparc32cpuinfo.h')
-rw-r--r-- | nacl/cpucycles/sparc32cpuinfo.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nacl/cpucycles/sparc32cpuinfo.h b/nacl/cpucycles/sparc32cpuinfo.h new file mode 100644 index 00000000..9d39dc65 --- /dev/null +++ b/nacl/cpucycles/sparc32cpuinfo.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | cpucycles sparc32cpuinfo.h version 20100804 | ||
3 | D. J. Bernstein | ||
4 | Public domain. | ||
5 | */ | ||
6 | |||
7 | #ifndef CPUCYCLES_sparc32cpuinfo_h | ||
8 | #define CPUCYCLES_sparc32cpuinfo_h | ||
9 | |||
10 | #ifdef __cplusplus | ||
11 | extern "C" { | ||
12 | #endif | ||
13 | |||
14 | extern long long cpucycles_sparc32cpuinfo(void); | ||
15 | extern long long cpucycles_sparc32cpuinfo_persecond(void); | ||
16 | |||
17 | #ifdef __cplusplus | ||
18 | } | ||
19 | #endif | ||
20 | |||
21 | #ifndef cpucycles_implementation | ||
22 | #define cpucycles_implementation "sparc32cpuinfo" | ||
23 | #define cpucycles cpucycles_sparc32cpuinfo | ||
24 | #define cpucycles_persecond cpucycles_sparc32cpuinfo_persecond | ||
25 | #endif | ||
26 | |||
27 | #endif | ||