summaryrefslogtreecommitdiff
path: root/nacl/cpucycles/sgi.h
blob: 56bad976cd6ce4c18240e94740414692d6c23477 (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 sgi.h version 20070916
D. J. Bernstein
Public domain.
*/

#ifndef CPUCYCLES_sgi_h
#define CPUCYCLES_sgi_h

#ifdef __cplusplus
extern "C" {
#endif

extern long long cpucycles_sgi(void);
extern long long cpucycles_sgi_persecond(void);

#ifdef __cplusplus
}
#endif

#ifndef cpucycles_implementation
#define cpucycles_implementation "sgi"
#define cpucycles cpucycles_sgi
#define cpucycles_persecond cpucycles_sgi_persecond
#endif

#endif