Project

General

Profile

Actions

Bug #13962

open

Support using CPUID instruction for TSC frequency when available

Added by Jason King over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Intel has introduced CPUID leaf 0x15 which returns the following (on supported platforms):

EAX = numerator of TSC frequency / core crystal clock frequency
EBX = denominator of TSC frequency / core crystal clock frequency (if != 0)
ECX = core crystal clock frequency (in Hz, as an unsigned int)

When the CPUID instruction indicates support for this leaf, and the resulting values are non-zero, this can be used to determine the TSC frequency.

No data to display

Actions

Also available in: Atom PDF