Changes to update Tomato RAF.
[tomato.git] / release / src / router / dnscrypt / src / libnacl / cpucycles / x86cpuspeed.h
blob43005cda67c9f004f59b6e75af870eb21a2b3d6a
1 /*
2 cpucycles x86cpuspeed.h version 20090716
3 Matthew Dempsky
4 Public domain.
5 */
7 #ifndef CPUCYCLES_x86cpuspeed_h
8 #define CPUCYCLES_x86cpuspeed_h
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 extern long long cpucycles_x86cpuspeed(void);
15 extern long long cpucycles_x86cpuspeed_persecond(void);
17 #ifdef __cplusplus
19 #endif
21 #ifndef cpucycles_implementation
22 #define cpucycles_implementation "x86cpuspeed"
23 #define cpucycles cpucycles_x86cpuspeed
24 #define cpucycles_persecond cpucycles_x86cpuspeed_persecond
25 #endif
27 #endif