# US 8,578,200 B2 · Conversion of timestamps between multiple entities within a computing system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,578,200 B2
- Document ID: US8578200B2
- Status: Granted
- Kind: B2
- Application number: 13/087,106
- Filed: 2011-04-14
- Published: 2012-10-18
- Granted: 2013-11-05
- Earliest claimed: 2011-04-14
- Assignees: International Business Machines Corporation
- Applicants: Aditya Kumar; Kevin Wendzel; Alwood P. Williams, III
- Inventors: Aditya Kumar; Kevin Wendzel; Alwood P. Williams, III
- Web page: https://patentgrep.com/patent/US8578200B2

## CPC

- G06F 1/14: Time supervision arrangements, e.g. real time clock
- G06F 1/10: Distribution of clock signals {, e.g. skew}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Method, apparatus and system are described for converting received timestamps to a time-recording standard recognized by the receiving computing system. Embodiments of the invention generally include receiving data from an external device that includes a timestamp. If the received data is the first communication from the external device, creating a time base used for converting subsequently received timestamps to a recognized standard. Moreover, the system updates the time base if a counter failure at the external device is detected. When the external device transmits subsequent data, the time base is added to the subsequently received timestamps to convert the subsequent timestamps to a time-recording standard recognized by the computing system.

## Claims

### Claim 1

A computer program product for converting a timestamp between a computing system and a subsystem, the computer program product comprising:
a computer-readable non-transistory storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising:
computer-readable program code configured to:
receive a relative timestamp from the subsystem;
upon determining that a time skew has occurred based on the relative timestamp and a time base, update the time base by subtracting the relative timestamp from an absolute system time, wherein the time base is a conversion variable for converting the relative timestamp to an absolute timestamp and the absolute system time is a timestamp of a time measure used by the computing system and indicates when the relative timestamp was received,
if the time base is updated, determine the absolute timestamp based on the relative timestamp and the updated time base, wherein the absolute timestamp is a timestamp of the time measure used by the computing system; and
if the time base is not updated, determine the absolute timestamp based on the relative timestamp and the time base.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein determining that the time skew has occurred comprises,
adding the time base to the relative timestamp to yield a predicted time of transmission; and
determining whether the predicted time of transmission is within a pre-defined delta from the absolute system time.

### Claim 3 (depends on 1)

The computer program product of claim 1, wherein adding the relative timestamp to the time base yields the absolute timestamp.

### Claim 4 (depends on 1)

The computer program product of claim 1, further comprising receiving, with the relative timestamp, received data that includes at least one of the following: a temperature of a hardware component in the subsystem and an energy consumed by the hardware component in the subsystem.

### Claim 5 (depends on 1)

The computer program product of claim 1, further comprising,
determining whether a counter has wrapped based on a first relative timestamp and a second relative timestamp, wherein the counter generates both of the relative timestamps; and
upon determining the counter has wrapped, adding a greatest value that can be stored by the counter to the time base.

### Claim 6

A computer program product for converting a timestamp between a computing system and a subsystem, the computer program product comprising:
a computer-readable non-transitory storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising:
computer-readable program code configured to:
receive a relative timestamp from the subsystem;
upon determining that the relative timestamp is a first communication from the subsystem, establishing a time base by subtracting the relative timestamp from an absolute system time, wherein the absolute system time is a timestamp of the time measure used by the computing system and indicates when the relative timestamp was received
upon determining that a time skew has occurred based on the relative timestamp and the time base, update the time base, wherein the time base is a conversion variable for converting the relative timestamp to an absolute timestamp,
if the time base is updated, determine the absolute timestamp based on the relative timestamp and the updated time base, wherein the absolute timestamp is a timestamp of the time measure used by the computing system; and
if the time base is not updated, determine the absolute timestamp based on the relative timestamp and the time base.

### Claim 7 (depends on 6)

The computer program product of claim 6, wherein determining that the time skew has occurred comprises,
adding the time base to the relative timestamp to yield a predicted time of transmission; and
determining whether the predicted time of transmission is within a pre-defined delta from the absolute system time.

### Claim 8 (depends on 6)

The computer program product of claim 6, wherein adding the relative timestamp to the time base yields the absolute timestamp.

### Claim 9 (depends on 6)

The computer program product of claim 6, further comprising receiving, with the relative timestamp, received data that includes at least one of the following: a temperature of a hardware component in the subsystem and an energy consumed by the hardware component in the subsystem.

### Claim 10 (depends on 6)

The computer program product of claim 6, further comprising,
determining whether a counter has wrapped based on a first relative timestamp and a second relative timestamp, wherein the counter generates both of the relative timestamps; and
upon determining the counter has wrapped, adding a greatest value that can be stored by the counter to the time base.

### Claim 11

A system, comprising:
a computer processor; and
a memory containing a program that, when executed on the computer processor, performs an operation for converting a timestamp between a computing system and a subsystem, comprising:
receiving a relative timestamp from the subsystem;
upon determining that a time skew has occurred based on the relative timestamp and a time base, updating the time base by subtracting the relative timestamp from an absolute system time, wherein the time base is a conversion variable for converting the relative timestamp to an absolute timestamp and the absolute system time is a timestamp of a time measure used by the computing system and indicates when the relative timestamp was received,
if the time base is updated, determining the absolute timestamp based on the relative timestamp and the updated time base, wherein the absolute timestamp is a timestamp of the time measure used by the computing system; and
if the time base is not updated, determining the absolute timestamp based on the relative timestamp and the time base.

### Claim 12 (depends on 11)

The system of claim 11, wherein determining that the time skew has occurred comprises,
adding the time base to the relative timestamp to yield a predicted time of transmission; and
determining whether the predicted time of transmission is within a pre-defined delta from the absolute system time.

### Claim 13 (depends on 11)

The system of claim 11, wherein adding the relative timestamp to the time base yields the absolute timestamp.

### Claim 14 (depends on 11)

The system of claim 11, further comprising receiving, with the relative timestamp, received data that includes at least one of the following: a temperature of a hardware component in the subsystem and an energy consumed by the hardware component in the subsystem.

### Claim 15 (depends on 11)

The system of claim 11, further comprising,
determining whether a counter has wrapped based on a first relative timestamp and a second relative timestamp, wherein the counter generates both of the relative timestamps; and
upon determining the counter has wrapped, adding a greatest value that can be stored by the counter to the time base.

### Claim 16 (depends on 11)

The system of claim 11, further comprising, upon determining that the relative timestamp is a first communication from the computing system, establishing the time base by subtracting the relative timestamp from the absolute system time.
