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