Time monitoring in a processing element and use
First Claim
Patent Images
1. A system comprising:
- a processing element, comprising;
a clock;
a thread suspend/resume logic block, configured to suspend execution of a thread without interrupting the processing element and in response to a received suspend thread instruction;
a local reference clock, coupled to the processing element and to a peripheral device, wherein the peripheral device is configured to provide a global time to the processing element; and
a time monitor circuit (TMC), wherein the TMC is configured to;
receive an indication of a wakeup time;
discipline the clock via adjustment of the global time based on a difference between a local reference time and a subsequent local reference time, thereby compensating for latency due to the provision of the global time by the software, wherein the subsequent local reference time is retrieved from the local reference clock, wherein the global time is provided by software, and wherein to provide the global time, the software is executable to;
retrieve the local reference time from the local reference clock that corresponds to the global time; and
provide the global time and the local reference time to the processing element;
monitor time via the clock until the wakeup time obtains; and
invoke the thread suspend/resume logic block to resume execution of the thread in response to the wakeup time obtaining.
5 Assignments
0 Petitions
Accused Products
Abstract
System and method for controlling thread execution via time monitoring circuitry in a processing element. Execution of a thread may be suspended via a thread suspend/resume logic block included in the processing element in response to a received suspend thread instruction. An indication of a wakeup time may be received to a time monitoring circuit (TMC) included in the processing element. Time may be monitored via the TMC using a clock included in the processing element, until the wakeup time obtains. The thread suspend/resume logic block included in the processing element may be invoked by the TMC in response to the wakeup time obtaining, thereby resuming execution of the thread
-
Citations
12 Claims
-
1. A system comprising:
a processing element, comprising; a clock; a thread suspend/resume logic block, configured to suspend execution of a thread without interrupting the processing element and in response to a received suspend thread instruction; a local reference clock, coupled to the processing element and to a peripheral device, wherein the peripheral device is configured to provide a global time to the processing element; and a time monitor circuit (TMC), wherein the TMC is configured to; receive an indication of a wakeup time; discipline the clock via adjustment of the global time based on a difference between a local reference time and a subsequent local reference time, thereby compensating for latency due to the provision of the global time by the software, wherein the subsequent local reference time is retrieved from the local reference clock, wherein the global time is provided by software, and wherein to provide the global time, the software is executable to; retrieve the local reference time from the local reference clock that corresponds to the global time; and provide the global time and the local reference time to the processing element; monitor time via the clock until the wakeup time obtains; and invoke the thread suspend/resume logic block to resume execution of the thread in response to the wakeup time obtaining. - View Dependent Claims (2, 3, 4, 5)
-
6. A method, comprising:
-
receiving an indication of a wakeup time to a time monitoring circuit (TMC) comprised in a processing element; suspending execution of a thread without interrupting the processing element via a thread suspend/resume logic block comprised in the processing element in response to a received suspend thread instruction; disciplining a clock comprised in the processing element via adjustment of a global time based on a difference between a local reference time and a subsequent local reference time, thereby compensating for latency due to the provision of the global time by the software, wherein the subsequent local reference time is retrieved from a local reference clock comprised in the processing element, wherein the global time is provided by software, and wherein to provide the global time, the software is executable to; retrieve the local reference time from the local reference clock that corresponds to the global time; and provide the global time and the local reference time to the processing element; monitoring time, via the TMC using a clock comprised in the processing element, until the wakeup time obtains; and invoking the thread suspend/resume logic block via the TMC in response to the wakeup time obtaining, thereby resuming execution of the thread. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A system comprising:
-
a processing element, comprising; a clock; a thread suspend/resume logic block, configured to suspend execution of a thread in response to a received suspend thread instruction; and a time monitor circuit (TMC); and a local reference clock, connected directly to the processing element and to a network interface controller (NIC); wherein the TMC is configured to; receive an indication of a wakeup time; discipline the clock via adjustment of the global time based on a difference between a local reference time and a subsequent local reference time, thereby compensating for latency due to the provision of the global time by the software, wherein the subsequent local reference time is retrieved from the local reference clock, wherein the global time is provided by software, and wherein to provide the global time, the software is executable to; retrieve the local reference time from the local reference clock that corresponds to the global time; and provide the global time and the local reference time to the processing element; monitor time via the clock until the wakeup time obtains; and invoke the thread suspend/resume logic block to resume execution of the thread in response to the wakeup time obtaining. - View Dependent Claims (12)
-
Specification