1
0

amd64tscfreq.h 519 B

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