Project

General

Profile

Feature #4764

Need a way to get tsc deltas

Added by Robert Mustacchi about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
kernel
Start date:
2014-04-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Various virutalization systems need to be able to virutalize the tsc. As part of that, they have to handle the fact that different CPUs have different values for the tsc, just as we handle with gethrtime(). This exposes a private function to expose this.

#1

Updated by Robert Mustacchi about 7 years ago

  • Status changed from Feedback to Resolved
#2

Updated by Electric Monk about 7 years ago

git commit 9278ddffeeeafc4766f74c6e2327b83ada62329a

Author: Robert Mustacchi <rm@joyent.com>

4764 Need a way to get tsc deltas
Reviewed by: Keith M Wesolowski <wesolows@foobazco.org>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF