CN118295509A - State setting method of processor, computing device and storage medium - Google Patents

State setting method of processor, computing device and storage medium Download PDF

Info

Publication number
CN118295509A
CN118295509A CN202410316125.9A CN202410316125A CN118295509A CN 118295509 A CN118295509 A CN 118295509A CN 202410316125 A CN202410316125 A CN 202410316125A CN 118295509 A CN118295509 A CN 118295509A
Authority
CN
China
Prior art keywords
processor
state
setting
parameters
states
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410316125.9A
Other languages
Chinese (zh)
Inventor
王晓华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202410316125.9A priority Critical patent/CN118295509A/en
Publication of CN118295509A publication Critical patent/CN118295509A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

The present invention relates to the field of operating systems, and in particular, to a method for setting a state of a processor, a computing device, and a storage medium, where the method includes: generating a state setting function of the processor; setting state parameters of one or more states of the processor to obtain one or more states of the processor; building a state setting driver from one or more processor states; in response to receiving a request to set a processor state, a state setting driver is invoked by a state manager to set the processor state according to a state setting function. The invention avoids directly modifying the state of the processor without calling the state manager, and reduces the performance loss; and the power consumption of the processor can be reduced through the set processor state parameters.

Description

State setting method of processor, computing device and storage medium
Technical Field
The present invention relates to the field of operating systems, and in particular, to a method for setting a state of a processor, a computing device, and a storage medium.
Background
In the constituent architecture of a computer, the computer includes one or more processors. When no task is running, the processor enters an idle state in order to reduce the power consumption of the processor. Such idle states include idle states. When the processor is required to work, the processor exits from the idle state again, and the task to be executed is executed.
In the prior art, when no task needs a processor, some processors directly enter an idle state; whether the processor needs to enter the idle state is not judged, so that the processor can enter the idle state frequently and wake up sometimes, and the performance loss is improved due to frequent state switching.
For this reason, a new state setting method of the processor is required.
Disclosure of Invention
To this end, the present invention provides a state setting method for a processor in an effort to solve or at least alleviate the above-presented problems.
According to one aspect of the present invention, there is provided a method of setting a state of a processor, adapted to be executed in a computing device, the computing device comprising a state manager of the processor, the method comprising: generating a state setting function of the processor; setting state parameters of one or more states of the processor to obtain one or more states of the processor; building a state setting driver from one or more processor states; and in response to receiving a request for setting the state of the processor, invoking a state setting driver through the state manager, and setting the state of the processor according to a state setting function.
Optionally, in the method according to the present invention, setting state parameters of one or more states of the processor, obtaining the one or more processor states includes: testing the processor according to the parameter space of the state parameters to obtain a plurality of groups of test data; determining optimal test parameters according to the multiple groups of test data; and setting state parameters of the processor according to the optimal test parameters to obtain the state of the processor.
Optionally, in the method according to the present invention, setting state parameters of one or more states of the processor, obtaining the one or more processor states includes: setting a processor power consumption parameter and a state residence parameter; and setting the state parameters of the processor according to the power consumption parameters and the state residence parameters of the processor to obtain the state of the processor.
Optionally, in the method according to the present invention, further comprising: and adding the processor into a preset processor list.
Optionally, in the method according to the present invention, building a state setting driver from one or more processor states comprises: judging whether a preset processor list comprises a processor or not; if so, setting a function according to the state associated with the processor state, wherein the state parameters of the processor state comprise optimal test parameters.
Optionally, in the method according to the present invention, further comprising: if the processor state is not included, according to the state setting function corresponding to the processor state association, the state parameters of the processor state comprise the processor power consumption parameter and the state residence parameter.
Optionally, in the method according to the present invention, further comprising: inquiring whether the computing equipment comprises a customized driver corresponding to the processor or not; if so, the custom driver is registered to set the processor state according to the custom driver.
Optionally, in the method according to the present invention, in response to receiving a request to set a processor state, invoking a state setting driver to set the processor state according to a state setting function, including: the parameters of the processor are set as state parameters included in the state of the processor according to the state setting function of the processor.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of setting a processor state according to the present invention.
According to yet another aspect of the present invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform a state setting method of a processor according to the present invention.
The invention realizes the presetting of one or more processor states by setting the state parameters of the processor; then, a state setting driver is constructed according to one or more processor states, and the state setting driver is called through a state manager to process a request for setting the processor states, so that the processor states are set according to a state setting function, the condition that the processor states are directly modified without calling the state manager is avoided, and the performance loss is reduced; and the power consumption of the processor can be reduced through the set processor state parameters.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 illustrates a schematic diagram of a state setting method 100 of a processor according to an exemplary embodiment of the invention;
FIG. 2 illustrates a block diagram of a computing device 200 according to an exemplary embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like reference numerals generally refer to like parts or elements.
Fig. 1 shows a schematic diagram of a state setting method 100 of a processor according to an exemplary embodiment of the invention. The state setting method of the processor of the present invention is suitable for execution in a computing device.
FIG. 2 illustrates a block diagram of a computing device according to an exemplary embodiment of the invention. In a basic configuration, computing device 200 includes at least one processing unit 220 and system memory 210. According to one aspect, depending on the configuration and type of computing device, system memory 210 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories. According to one aspect, system memory 210 includes an operating system 211.
According to one aspect, operating system 211 is suitable, for example, for controlling the operation of computing device 200. Further, examples are practiced in connection with a graphics library, other operating systems, or any other application program and are not limited to any particular application or system. This basic configuration is illustrated in fig. 2 by those components within dashed line 215. According to one aspect, computing device 200 has additional features or functionality. For example, according to one aspect, computing device 200 includes additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape.
As set forth hereinabove, according to one aspect, program modules 212 are stored in system memory 210. According to one aspect, program modules 212 may include one or more application programs, the invention is not limited to the type of application program, e.g., applications further include: email and contacts applications, word processing applications, spreadsheet applications, database applications, slide show applications, drawing or computer-aided application, web browser applications, etc.
According to one aspect, the examples may be practiced in a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic components or a microprocessor. For example, examples may be practiced via a system on a chip (SOC) in which each or many of the components shown in fig. 2 may be integrated on a single integrated circuit. According to one aspect, such SOC devices may include one or more processing units, graphics units, communication units, system virtualization units, and various application functions, all of which are integrated (or "burned") onto a chip substrate as a single integrated circuit. When operating via an SOC, the functionality described herein may be operated via dedicated logic integrated with other components of computing device 200 on a single integrated circuit (chip). Embodiments of the invention may also be practiced using other techniques capable of performing logical operations (e.g., AND, OR, AND NOT), including but NOT limited to mechanical, optical, fluidic, AND quantum techniques. In addition, embodiments of the invention may be practiced within a general purpose computer or in any other circuit or system.
According to one aspect, computing device 200 may also have one or more input devices 231, such as a keyboard, mouse, pen, voice input device, touch input device, or the like. Output devices 232 such as a display, speakers, printer, etc. may also be included. The foregoing devices are examples and other devices may also be used. Computing device 200 may include one or more communication connections 233 that allow communication with other computing devices 240. Examples of suitable communication connections 233 include, but are not limited to: RF transmitter, receiver and/or transceiver circuitry; universal Serial Bus (USB), parallel and/or serial ports. Computing device 200 may be communicatively connected to other computing devices 240 via communication connection 233.
Embodiments of the present invention also provide a non-transitory readable storage medium storing instructions for causing the computing device to perform a method according to embodiments of the present invention. The readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be any method or technology for information storage. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of readable storage media include, but are not limited to: phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transitory readable storage medium.
According to one aspect, communication media is embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal (e.g., carrier wave or other transport mechanism) and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio Frequency (RF), infrared, and other wireless media.
It should be noted that although the above-described computing device only shows processing unit 220, system memory 210, input device 231, output device 232, and communication connection 233, the device may include other components necessary to achieve proper operation in a particular implementation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The present invention provides a state manager for a computing device that includes a processor. According to one embodiment of the invention, the processor of the present invention may be embodied as a logic processor. One or more processors may be included in a computing device, and the invention is not limited by the particular type and number of processors included in the computing device.
An operating system is running in the computing device. According to one embodiment of the invention, the operating system may be embodied as a linux system, and the kernel may be embodied as a linux kernel; the invention is not limited to the specific type of operating system.
The processor may have a state, the processor state of the processor including an idle state, or referred to as an idle state.
When the kernel of the operating system is initialized, an idle thread is created for each processor, and when a task list of the processor does not need to run, the processor can run the idle thread, so that the processor enters an idle state; the power consumption of the processor is reduced without affecting the performance of the computing device. When the processor is required to continue executing a task, an interrupt may be sent to the processor so that the processor exits the idle state to execute the corresponding task.
The operating system kernel provides a state manager. According to one embodiment of the invention, the state manager may be embodied as cpuidle governor. The state manager predicts the expected duration of the idle state after the processor enters the idle state, and judges whether the processor is allowed to enter the idle state according to the expected duration, so that the problem that the processor frequently switches the state to cause the increase of the efficiency of the processor due to the fact that the duration of the processor in the idle state is too short is avoided. If the state manager judges that the processor is in the idle state, the state manager selects an appropriate idle state to allow the processor to enter, so that the state of the processor is switched.
In the prior art, some processors only provide a function for entering an idle state, even if a kernel provides a state manager, the processor can only enter the idle state according to the function, whether the processor needs to enter the idle state or not cannot be judged by the state manager, one idle state cannot be selected, the processor is easy to repeatedly change the state, or the entered idle state is unsuitable, and the power consumption of the processor is not effectively degraded. When the processor is switched to the idle state, the clock of the processor needs to be turned off, the interrupt is stopped to be sent to the processor, and part of the functions of the processor are turned off, and all the steps need time to be executed; when the processor enters an idle state, stopping scheduling for the processor, wherein the processor cannot immediately respond to a command for executing a task; when the processor exits the idle state, IPI interrupt needs to be sent to the processor so as to wake the processor, the awakened processor needs to process the IPI interrupt, and according to the task condition, the running queue is checked or multi-core load balancing is performed, the processor cannot enter the working state rapidly, and the task execution is delayed greatly in hardware; therefore, the process of performing the idle state of the processor needs to be controlled in a fine manner, and the processor cannot directly enter the idle function, which causes low operation efficiency.
Accordingly, the present invention provides a state setting method for a processor.
Returning to fig. 1, as shown in fig. 1, the state setting method of the processor of the present invention first performs step 110: a state setting function of the processor is generated. The processor state setting function of the present invention may be used to set the processor into a corresponding processor state. According to one embodiment of the invention, the state setting function may be embodied as an enter function, such as cpuidle _enter function. The present invention is not limited to the specific form of the state setting function. Each processor state corresponds to a state setting function.
Subsequently, step 120 is performed to set state parameters for one or more states of the processor, resulting in one or more processor states. Specific: the processor can be tested according to the parameter space of the state parameters to obtain a plurality of groups of test data; determining optimal test parameters according to the multiple groups of test data; and setting state parameters of the processor according to the optimal test parameters to obtain the state of the processor. A set of state parameters of the processor may correspond to a processor state of the set processor.
According to one embodiment of the invention, the set processor state includes an idle state, i.e., an idle state. When a processor can be tested to determine the appropriate state parameters for the processor, the processor can be tested according to the parameter space of the state parameters. The parameter space of the state parameter is composed of the value ranges of all the parameters in the state parameter, and one point in the parameter space is a value of the corresponding state parameter.
When the processor is tested, one state parameter can be obtained by selecting one point in the parameter space each time, the processor is tested, and whether the processor has better performance loss performance when the state is switched is checked. The invention does not limit the specific mode of determining the state parameters by taking the points from the parameter space and the point taking density during the test. And obtaining a plurality of groups of test parameters after multiple tests, wherein the test parameters corresponding to the group of tests with the best performance of the processor are the optimal test parameters.
According to the embodiment of the invention, in order to better optimize the performance of the processor, the invention can set a specific application scene of the computing equipment and the processor, so that the processor executes a specific task, and tests are performed again on the basis, thereby realizing personalized optimization of the state parameters of the processor and obtaining the optimal test parameters which accord with the application scene and can obtain the maximum performance optimization effect in the application scene.
According to one embodiment of the present invention, when setting the state parameter and setting the processor state according to the state parameter, the state parameter may also be customized to set the processor state, specifically: setting a processor power consumption parameter and a state residence parameter; and setting the state parameters of the processor according to the power consumption parameters and the state residence parameters of the processor to obtain the state of the processor. The mode of customizing the state parameters can be applied when the processor is inconvenient to test, and can be effectively complemented with the mode of setting the state of the processor.
According to one embodiment of the invention, the state residence parameters include the minimum residence time and exit delay of the processor in the processor state.
According to one embodiment of the invention, the processor state may be set to an idle state, i.e., an idle state, and the processor power consumption parameter may be set to 0 in the state parking parameter, the minimum parking time may be set to 1, the exit delay may be set to 0 in seconds or minutes, etc., among the state parameters corresponding to the idle state. The invention does not limit the specific setting parameter items and specific values of the state parameters.
According to one embodiment of the invention, after determining the status parameter by testing, setting the processor status, the tested processor is added to the pre-set processor list. The processor list is used for adding tested processors, and can be constructed in advance.
Subsequently, step 130 is performed to construct a state setting driver based on the one or more processor states.
According to one embodiment of the invention, when a state driver is constructed, firstly inquiring whether the computing equipment comprises a customized driver corresponding to a processor or not; if so, the custom driver is registered to set the processor state according to the custom driver. The custom driver is a custom driver for a processor included in the computing device that is capable of providing a processor state for setting the processor. Custom drivers may be provided in advance by the manufacturer of the processor. The invention does not limit the construction mode of the custom driver.
If the custom driver corresponding to the processor is not included in the computing equipment when the driver is set, judging whether the preset processor list includes the processor or not; if so, setting a function according to the state associated with the processor state, wherein the state parameters of the processor state comprise optimal test parameters.
If the processor list includes a processor, the processor is tested, and the state parameter corresponding to the processor state is obtained through testing. And setting a state setting function corresponding to the state of the processor by taking the sufficient test parameters as state parameters, and constructing a state setting driver.
And if the state parameters do not include, associating the corresponding state setting function according to the state of the processor, wherein the state parameters of the state of the processor include the power consumption parameter and the state residence parameter of the processor. If the processor list does not include a processor, the state parameter corresponding to the processor state is user-defined, and a state setting function corresponding to the processor state is set according to the user-defined set processor power consumption parameter and the state residence parameter as the state parameters, so as to construct a state setting driver.
After the state setting driver is built, the state setting driver is registered so as to call the state setting driver later. The state set driver provides different processor states of the processor, such as multiple control states, i.e., multiple idle states, and a method of specifically entering each processor state.
Subsequently, step 140 is executed, in response to receiving the request for setting the state of the processor, invoking a state setting driver through the state manager, and setting the state of the processor according to the state setting function; specific: and setting the parameters of the processor to the state parameters included in the state of the processor according to the state setting function of the processor.
According to one embodiment of the present invention, the request for setting the processor state may be issued after the state manager determines to enter the corresponding processor state, and the state manager may further select the processor state to be entered from the processor states provided by the state setting driver, and set according to a state setting function corresponding to the processor state.
The invention judges whether to enter the corresponding processor state by the state manager, such as the idle state, can reduce the times of entering the idle state by the processor, avoid the delay caused by frequently entering the idle state by the processor, and improve the overall system performance. And the state manager can also judge whether to enter the corresponding processor state according to the processor power consumption parameter and the state residence parameter of the processor state, so that the power consumption increase caused by frequently entering and exiting the processor state is reduced, and the hardware power consumption is reduced.
The invention realizes the presetting of one or more processor states by setting the state parameters of the processor; then, a state setting driver is constructed according to one or more processor states, and the state setting driver is called through a state manager to process a request for setting the processor states, so that the processor states are set according to a state setting function, the condition that the processor states are directly modified without calling the state manager is avoided, and the performance loss is reduced; and the power consumption of the processor can be reduced through the set processor state parameters.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules or units or groups of devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or groups of embodiments may be combined into one module or unit or group, and furthermore they may be divided into a plurality of sub-modules or sub-units or groups. Any combination of all features disclosed in this specification, as well as all processes or units of any method or apparatus so disclosed, may be employed, except that at least some of such features and or processes or units are mutually exclusive. Each feature disclosed in this specification may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the state setting method of the processor of the present invention according to instructions in said program code stored in the memory.
By way of example, and not limitation, computer readable media comprise computer storage media and communication media. Computer-readable media include computer storage media and communication media. Computer storage media stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention.

Claims (10)

1. A method of setting a state of a processor, adapted to be executed in a computing device including a state manager of the processor therein, the method comprising:
generating a state setting function of the processor;
setting state parameters of one or more states of the processor to obtain one or more states of the processor;
constructing a state setting driver according to the one or more processor states;
And in response to receiving a request for setting the state of the processor, calling the state setting driver through the state manager, and setting the state of the processor according to the state setting function.
2. The method of claim 1, wherein setting state parameters for one or more states of the processor to obtain the one or more processor states comprises:
Testing the processor according to the parameter space of the state parameter to obtain a plurality of groups of test data;
determining optimal test parameters according to the multiple groups of test data;
and setting state parameters of the processor according to the optimal test parameters to obtain the state of the processor.
3. The method of claim 1, wherein setting state parameters for one or more states of the processor to obtain the one or more processor states comprises:
setting a processor power consumption parameter and a state residence parameter;
And setting the state parameters of the processor according to the power consumption parameters and the state residence parameters of the processor to obtain the state of the processor.
4. The method of claim 2, wherein the method further comprises:
and adding the processor into a preset processor list.
5. The method of claim 3 or 4, wherein said constructing a state setting driver from said one or more processor states comprises:
Judging whether a preset processor list comprises the processor or not;
And if so, associating a corresponding state setting function according to the state of the processor, wherein the state parameters of the state of the processor comprise the optimal test parameters.
6. The method of claim 5, wherein the method further comprises:
and if the state parameters do not include, associating the corresponding state setting function according to the state of the processor, wherein the state parameters of the state of the processor include the power consumption parameter and the state residence parameter of the processor.
7. The method of claim 5, wherein the method further comprises:
Inquiring whether the computing equipment comprises a customized driver corresponding to the processor or not;
if so, registering the custom driver to set a processor state according to the custom driver.
8. The method of claim 2, wherein said invoking, by the state manager, the state setting driver in response to receiving a request to set a processor state, setting a processor state according to the state setting function comprises:
and setting parameters of the processor to state parameters included in the state of the processor according to the state setting function of the processor.
9. A computing device, comprising:
one or more processors;
A memory; and
One or more programs, wherein the one or more programs are stored in memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of any of claims 1-8.
10. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the method of any of claims 1-8.
CN202410316125.9A 2024-03-19 2024-03-19 State setting method of processor, computing device and storage medium Pending CN118295509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410316125.9A CN118295509A (en) 2024-03-19 2024-03-19 State setting method of processor, computing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410316125.9A CN118295509A (en) 2024-03-19 2024-03-19 State setting method of processor, computing device and storage medium

Publications (1)

Publication Number Publication Date
CN118295509A true CN118295509A (en) 2024-07-05

Family

ID=91686811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410316125.9A Pending CN118295509A (en) 2024-03-19 2024-03-19 State setting method of processor, computing device and storage medium

Country Status (1)

Country Link
CN (1) CN118295509A (en)

Similar Documents

Publication Publication Date Title
JP7313381B2 (en) Embedded scheduling of hardware resources for hardware acceleration
KR100934533B1 (en) Computer-readable recording medium recording arithmetic processing system, task control method on computer system, and computer program
US10503671B2 (en) Controlling access to a shared resource
US9098337B2 (en) Scheduling virtual central processing units of virtual machines among physical processing units
CN102160035A (en) Preloading applications onto memory at least partially during boot up
KR20160014647A (en) A method and apparatus for interrupt handling
US20200117576A1 (en) Assessing the container-readiness of software applications
CN110187835A (en) For managing the method, apparatus, equipment and storage medium of access request
KR101710291B1 (en) Operation of software modules in parallel
US20210089482A1 (en) Processor and interrupt controller therein
CN118295509A (en) State setting method of processor, computing device and storage medium
US20100318973A1 (en) Method and apparatus for providing dynamic activation of virtual platform sub-modules
CN115357257B (en) Installation file generation method, system, computing device and storage medium
CN115656788B (en) Chip testing system, method, equipment and storage medium
US11307973B2 (en) Method and device for testing robustness and stability of SMM, and storage medium
US20030037227A1 (en) Processor enabling exception handling to be set by program
CN116360941A (en) Multi-core DSP-oriented parallel computing resource organization scheduling method and system
JP2007207074A (en) Operation system, thread control mechanism and information processor
CN114911538A (en) Starting method of running system and computing equipment
CN112052439A (en) Access right control method and device of embedded system and storage medium
US10324752B2 (en) Response times based on application states
EP3599547A1 (en) Elastic storage volume type selection and optimization engine for public cloud environments
CN113312167B (en) Service control method and device, electronic equipment and computer readable medium
US20230043222A1 (en) Method and apparatus for scheduling tasks in multi-core processor
US20240004454A1 (en) Control of power state in computer processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination