Check out my first novel, midnight's simulacra!
X86 timing: Difference between revisions
From dankwiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
* RTC ([http://fxr.watson.org/fxr/source/Documentation/rtc.txt?v=linux-2.6 Linux docs]) | * RTC ([http://fxr.watson.org/fxr/source/Documentation/rtc.txt?v=linux-2.6 Linux docs]) | ||
** [[ACPI]] standardized the <tt>cmos-rtc</tt> type, extending the Motorola MC146818 ([http://cateee.net/lkddb/web-lkddb/RTC_DRV_CMOS.html CONFIG_RTC_DRV_CMOS at the LKDD]) | ** [[ACPI]] standardized the <tt>cmos-rtc</tt> type, extending the Motorola MC146818 ([http://cateee.net/lkddb/web-lkddb/RTC_DRV_CMOS.html CONFIG_RTC_DRV_CMOS at the LKDD]) | ||
<pre>[recombinator](0) $ cat /proc/driver/rtc | |||
rtc_time : 07:43:30 | |||
rtc_date : 2009-06-27 | |||
alrm_time : **:00:00 | |||
alrm_date : ****-**-** | |||
alarm_IRQ : no | |||
alrm_pending : no | |||
24hr : yes | |||
periodic_IRQ : no | |||
update_IRQ : no | |||
HPET_emulated : yes | |||
DST_enable : no | |||
periodic_freq : 1024 | |||
batt_status : okay | |||
[recombinator](0) $ </pre> | |||
* Linux clocksources vs clockevents | * Linux clocksources vs clockevents |
Revision as of 07:43, 27 June 2009
- PIT -- Programmable Interval Timer (eg Intel 8253)
- ACPI counter
- LAPIC counter
- HPET
- TSC since Pentium
- RTC (Linux docs)
- ACPI standardized the cmos-rtc type, extending the Motorola MC146818 (CONFIG_RTC_DRV_CMOS at the LKDD)
[recombinator](0) $ cat /proc/driver/rtc rtc_time : 07:43:30 rtc_date : 2009-06-27 alrm_time : **:00:00 alrm_date : ****-**-** alarm_IRQ : no alrm_pending : no 24hr : yes periodic_IRQ : no update_IRQ : no HPET_emulated : yes DST_enable : no periodic_freq : 1024 batt_status : okay [recombinator](0) $
- Linux clocksources vs clockevents