Tracking current time on multiprocessor hosts and virtual machines
First Claim
Patent Images
1. A method for synchronizing timers on multiple hypervisor controlled processors to a standard reference time, the method comprising:
- obtaining, by a synchronization program executing on a computing system comprising a processor communicating with a guest operating system via a hypervisor, synchronization values,wherein the computing system comprises a platform timer communicatively coupled to the hypervisor and the processor comprises a timer;
calculating, by the hypervisor, a calibration constant using a relative frequency of a standard reference time, a relative frequency of the processor timer, and an error correction factor;
calculating a synchronized time value calibrated using the calibration constant; and
storing the synchronized time value in an accessible location.
10 Assignments
0 Petitions
Accused Products
Abstract
An operating system in a virtual environment can obtain the current time of the processor that the OS is utilizing through a method for synchronizing timers on multiple processors with a standard reference time, such as the Coordinated Universal Time (UTC). A hypervisor controlling the processors obtains a number of synchronization values that, together with a local timer counter value, are utilized by the guest operating system to determine the physical processor time.
27 Citations
19 Claims
-
1. A method for synchronizing timers on multiple hypervisor controlled processors to a standard reference time, the method comprising:
-
obtaining, by a synchronization program executing on a computing system comprising a processor communicating with a guest operating system via a hypervisor, synchronization values, wherein the computing system comprises a platform timer communicatively coupled to the hypervisor and the processor comprises a timer; calculating, by the hypervisor, a calibration constant using a relative frequency of a standard reference time, a relative frequency of the processor timer, and an error correction factor; calculating a synchronized time value calibrated using the calibration constant; and storing the synchronized time value in an accessible location. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for synchronizing timers on multiple hypervisor controlled processors to a standard reference time, the system comprising:
-
a processor comprising a timer, the processor communicating with a guest operating system via a hypervisor; a platform timer communicatively coupled to the hypervisor; a computing system comprising the processor and the platform timer; the hypervisor calculating a calibration constant using a relative frequency of a standard reference time, a relative frequency of the processor timer, and an error correction factor; and a synchronization program executing on the computing system to; obtain synchronization values, calculate a synchronized time value using the calibration constant, and store the synchronized time value in an accessible location. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
Specification