summaryrefslogtreecommitdiff
path: root/nacl/cpucycles/celllinux.h
blob: 75a5a3f2d1eaf1137e17ef564b8afeb69cebf88a (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 celllinux.h version 20081201
D. J. Bernstein
Public domain.
*/

#ifndef CPUCYCLES_celllinux_h
#define CPUCYCLES_celllinux_h

#ifdef __cplusplus
extern "C" {
#endif

extern long long cpucycles_celllinux(void);
extern long long cpucycles_celllinux_persecond(void);

#ifdef __cplusplus
}
#endif

#ifndef cpucycles_implementation
#define cpucycles_implementation "celllinux"
#define cpucycles cpucycles_celllinux
#define cpucycles_persecond cpucycles_celllinux_persecond
#endif

#endif