timex.h 304 B

12345678910111213141516171819
  1. /*
  2. * linux/include/asm-parisc/timex.h
  3. *
  4. * PARISC architecture timex specifications
  5. */
  6. #ifndef _ASMPARISC_TIMEX_H
  7. #define _ASMPARISC_TIMEX_H
  8. #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
  9. typedef unsigned long cycles_t;
  10. static inline cycles_t get_cycles (void)
  11. {
  12. return mfctl(16);
  13. }
  14. #endif