#ifndef _ASM_X86_TIMER_H #define _ASM_X86_TIMER_H #include <linux/pm.h> #include <linux/percpu.h> #include <linux/interrupt.h> #include <linux/math64.h> #define TICK_SIZE (tick_nsec / 1000) unsigned long long native_sched_clock(void); extern int recalibrate_cpu_khz(void); extern int no_timer_check; /* * We use the full linear equation: f(x) = a + b*x, in order to allow * a continuous function in the face of dynamic freq changes. * * Continuity means that when our frequency changes our slope (b); we want to * ensure that: f(t) == f'(t), which gives: a + b*t == a' + b'*t. * * Without an offset (a) the above would not be possible. * * See the comment near cycles_2_ns() for details on how we compute (b). */ struct cyc2ns_data { u32 cyc2ns_mul; u32 cyc2ns_shift; u64 cyc2ns_offset; u32 __count; /* u32 hole */ }; /* 24 bytes -- do not grow */ extern struct cyc2ns_data *cyc2ns_read_begin(void); extern void cyc2ns_read_end(struct cyc2ns_data *); #endif /* _ASM_X86_TIMER_H */Overall Contributors
Person | Tokens | Prop | Commits | CommitProp | |
peter zijlstra | peter zijlstra | 41 | 50.00% | 2 | 16.67% |
john stultz | john stultz | 10 | 12.20% | 2 | 16.67% |
zachary amsden | zachary amsden | 8 | 9.76% | 1 | 8.33% |
thomas gleixner | thomas gleixner | 7 | 8.54% | 1 | 8.33% |
jaswinder singh rajput | jaswinder singh rajput | 4 | 4.88% | 1 | 8.33% |
h. peter anvin | h. peter anvin | 3 | 3.66% | 1 | 8.33% |
guillaume chazarain | guillaume chazarain | 3 | 3.66% | 1 | 8.33% |
ingo molnar | ingo molnar | 3 | 3.66% | 1 | 8.33% |
andries brouwer | andries brouwer | 2 | 2.44% | 1 | 8.33% |
li shaohua | li shaohua | 1 | 1.22% | 1 | 8.33% |
Total | 82 | 100.00% | 12 | 100.00% |