1
0

cortex.h 471 B

123456789101112131415161718192021222324252627
  1. /*
  2. cpucycles cortex.h version 20100912
  3. D. J. Bernstein
  4. Public domain.
  5. */
  6. #ifndef CPUCYCLES_cortex_h
  7. #define CPUCYCLES_cortex_h
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. extern long long cpucycles_cortex(void);
  12. extern long long cpucycles_cortex_persecond(void);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #ifndef cpucycles_implementation
  17. #define cpucycles_implementation "cortex"
  18. #define cpucycles cpucycles_cortex
  19. #define cpucycles_persecond cpucycles_cortex_persecond
  20. #endif
  21. #endif