Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inmates: x86: Add support for TSC-based timing
Provide a service to calibrate the TSC against the PM timer and read out the current time in nanoseconds. This service is much faster than the slow PM timer, and it's also not affected by chipset-induced delays. Note that the simplistic algorithm only supports measuring relative time spans of a couple of seconds. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
- Loading branch information
1 parent
de2978a
commit 8aec536
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters