linux/include/asm-i386/timer.h
<<
>>
Prefs
   1#ifndef _ASMi386_TIMER_H
   2#define _ASMi386_TIMER_H
   3#include <linux/init.h>
   4#include <linux/pm.h>
   5
   6#define TICK_SIZE (tick_nsec / 1000)
   7
   8void setup_pit_timer(void);
   9unsigned long long native_sched_clock(void);
  10unsigned long native_calculate_cpu_khz(void);
  11
  12extern int timer_ack;
  13extern int no_timer_check;
  14extern int no_sync_cmos_clock;
  15extern int recalibrate_cpu_khz(void);
  16
  17#ifndef CONFIG_PARAVIRT
  18#define get_scheduled_cycles(val) rdtscll(val)
  19#define calculate_cpu_khz() native_calculate_cpu_khz()
  20#endif
  21
  22#endif
  23
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.