Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: db98e0b434a6265c451ffe94ec0a29b8d0aaf587 authored by Linus Torvalds on 16 March 2007, 00:20:01 UTC
Linux 2.6.21-rc4
Tip revision: db98e0b
timex.h
/*
 * linux/include/asm-parisc/timex.h
 *
 * PARISC architecture timex specifications
 */
#ifndef _ASMPARISC_TIMEX_H
#define _ASMPARISC_TIMEX_H

#include <asm/system.h>

#define CLOCK_TICK_RATE	1193180 /* Underlying HZ */

typedef unsigned long cycles_t;

static inline cycles_t get_cycles (void)
{
	return mfctl(16);
}

#endif
back to top