Timer
- Time
- linux/kernel/time/timekeeping.c
struct timespec {
time_t tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
};
- static struct timespec xtime attribute ((aligned (16)))
- the current time
- System Timer
- Programmable Interval Timer(PIT)
- local APIC timer
- Time Stamp Counter (TSC)
- High Precision Event Timer(HPET)
- Linux 时钟处理机制
- kernel timer/dynamic timers
- timing wheel
- TIMER_SOFTIRQ softirq
- struct timer_list
- activate timer
- timer wrap
- del_timer race conditions
- mod_timer
- Dynamic ticks
- high resolution timer
- HPET(High Precision Event Timer)
- Tickless
- CPUfreq
- Dynamic Timer/Kernel Timer
- Kernel timers are run as the result of a "software interrupt."
- A timer should run on the same CPU that registered it.
page revision: 45, last edited: 19 Mar 2016 13:49