Back to results
US 12,627,390 B2Granted
Providing arbitrarily long timer from shorter underlying hardware counter
AssigneeArista Networks, Inc.
InventorsYin Chen, Andrew Peter Maxwell, Avininderpal Singh Grewal, Jeff Chan
Life of this patent
Estimating the term…
Abstract
Systems and methods for extending an original bit length counter maintained by hardware of a network device to generate an extended length timestamp of a longer bit length are disclosed. The extension of the original bit length counter is based on a rollover counter, where the rollover counter is incremented based on the detection of rollovers of the original bit length counter.
Claims20
A network device, comprising:
- processing circuitry, including:
- a switching circuit including a time of day (TOD) counter of a first bit length;
- and
- an extended timestamp module adapted for generating a value for an extended bit length TOD counter for a second bit length greater than the first bit length by:
- maintaining a rollover counter, wherein a value of the rollover counter is incremented based on a detection of a rollover of the TOD counter and the rollover counter has a second bit length;
- obtaining a first value of the TOD counter from the switching circuit of the network device, wherein the extended timestamp module generates the value for an extended bit length TOD counter based on the value of the rollover counter and the obtained value of the TOD counter, wherein the extended bit length TOD counter has a third bit length that is the sum of the first bit length and the second bit length.
3 more elements
A method for increasing precision of a hardware counter, comprising:
- maintaining a rollover counter, wherein the rollover counter is incremented based on a detection of a rollover of a first counter in hardware of a computing device, and wherein the first counter is a time of day (TOD) counter having a first bit length;
- obtaining a first value of the first counter from the hardware of the computing device;
- and
- generating a value for an extended bit length TOD counter based on a value of the rollover counter and the obtained first value of the first counter, wherein the extended bit length TOD counter has a second bit length greater than the first bit length.
1 more element
A non-transitory computer readable medium, comprising instructions for:
- incrementing a rollover counter based on a detection of a rollover of a first counter in hardware of a computing device, and wherein the first counter is a time of day (TOD) counter having a first bit length;
- obtaining a first value of the first counter from the hardware of the computing device;
- and
- generating a value for an extended bit length TOD counter based on a value of the rollover counter and the obtained first value of the first counter, wherein the extended bit length TOD counter has a second bit length greater than the first bit length.
1 more element
Dependencies are inferred from the claim text.