Patent · US Active

Clock tick interrupt configuration method and apparatus

US11216023B2 · kind B2 · utility

0Cited by
13References
19Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 24, 2019
Grant dateJan 4, 2022
Priority date
Expiry dateJul 23, 2040

Classification

  • Technology area (CPC Y)Emerging Cross-Sectional Technologies
  • CPC primaryY02D30/50
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method and an apparatus for setting a time for a tick interrupt are disclosed. The method includes performing a compensation for a system time when a tick interrupt is executed; setting a time of a next tick interrupt according to a timeout task and a compensated system time if the timeout task exists when the tick interrupt is executed; and when a system enters into a low power mode after the tick interrupt is executed, correcting the time of the next tick interrupt according to the timeout task that is updated when the low power mode is entered. The present disclosure can decouple logic relationships between tick interrupts and Idle tasks, thereby reduces the number of division operations that involve rounding, reduces such accumulated error associated with compensation time, and improves the accuracy of the system time, as compared to the existing technologies.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.