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