Alibaba Group Holding Limited
Timer Processing Method, Apparatus, Electronic Device and Computer Storage Medium

Last updated:

Abstract:

Timer processing method, apparatus, electronic device and computer storage medium are provided. The timer processing method includes: determining to perform timer switching on a virtual local timer used by a virtual processor according to preset timer switching condition(s); determining a physical processor that runs the virtual processor, and switching a physical local timer currently used by the physical processor to a physical global timer; and performing a timer configuration for the virtual processor to enable the physical local timer to act as a timer of the virtual processor. Through the embodiments of the present disclosure, additional overheads of a virtual machine system caused by operations of conversion of virtual timer and physical timer are avoided.

Status:
Application
Type:

Utility

Filling date:

18 Mar 2022

Issue date:

30 Jun 2022