Management of low power modes
Embodiments of the present disclosure relate to management of low power modes. In one embodiment, a method for managing a low power mode of an electronic device includes, upon a first request to transition the electronic device to a low power mode, storing a value of a first counter and a value of a...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Embodiments of the present disclosure relate to management of low power modes. In one embodiment, a method for managing a low power mode of an electronic device includes, upon a first request to transition the electronic device to a low power mode, storing a value of a first counter and a value of a second counter of the electronic device at a first edge of a first clock; and upon a second request for transitioning the electronic device out of the low power mode, calculating a number of cycles of a second clock between a second edge of the first clock and the first edge, the second edge being later than the first edge; and updating a value of the second counter using the calculated value, where the first clock drives the first counter and the second clock drives the second counter, the second clock being faster than the first clock.
本公开的各实施例涉及低功率模式的管理。在一个实施例中,一种用于管理电子设备的低功率模式的方法包括在用于将电子设备转变到低功率模式的第一请求时,在第一时钟的第一边沿存储电子设备的第一计数器的值和第二计数器的值;以及在用于将电子设备转变出低功率模式的第二请求时,计算第一时钟的第二边沿与第一边沿之间的第二时钟的周期数,第二边沿晚于第一边沿;以及使用计算值更新第二 |
---|