#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/timer.h>
#include <linux/acpi_pmtmr.h>
#include <linux/cpufreq.h>
#include <linux/delay.h>
#include <linux/clocksource.h>
#include <linux/percpu.h>
#include <linux/timex.h>
#include <asm/hpet.h>
#include <asm/timer.h>
#include <asm/vgtod.h>
#include <asm/time.h>
#include <asm/delay.h>
#include <asm/hypervisor.h>
#include <asm/nmi.h>
#include <asm/x86_init.h>
Go to the source code of this file.
#define CAL2_PIT_LOOPS 5000 |
#define CAL_PIT_LOOPS 1000 |
#define MAX_QUICK_PIT_MS 50 |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
Definition at line 1 of file tsc.c.
#define SMI_TRESHOLD 50000 |
DEFINE_PER_CPU |
( |
unsigned |
long, |
|
|
cyc2ns |
|
|
) |
| |
DEFINE_PER_CPU |
( |
unsigned long |
long, |
|
|
cyc2ns_offset |
|
|
) |
| |
device_initcall |
( |
init_tsc_clocksource |
| ) |
|
unsigned long native_calibrate_tsc |
( |
void |
| ) |
|
native_calibrate_tsc - calibrate the tsc on boot
Definition at line 403 of file tsc.c.
Definition at line 44 of file tsc.c.
Definition at line 98 of file tsc.c.
Definition at line 77 of file tsc.c.
void tsc_restore_sched_clock_state |
( |
void |
| ) |
|
void tsc_save_sched_clock_state |
( |
void |
| ) |
|
Definition at line 24 of file tsc.c.
int tsc_clocksource_reliable |
Definition at line 40 of file tsc.c.
Definition at line 27 of file tsc.c.