Test method and device and electronic equipment
A test method and technology of electronic equipment, applied in the computer field, can solve problems such as spending a lot of time, the CPU cannot be used efficiently, and the problem cannot be analyzed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] An embodiment of the present invention, such as figure 1 As shown, the present embodiment provides a test method, comprising the following steps:
[0047] S100 sets preset test conditions, and dynamically switches the number of cores, cores or frequencies of the CPU based on the preset test conditions and the switching command.
[0048] Specifically, the number of cores, the dynamic switching of cores or frequencies of the CPU is controlled by setting preset test conditions.
[0049] Among them, the core (Die), also known as the core, is the most important part of the CPU. The raised chip in the center of the CPU is the core, which is made of monocrystalline silicon with a certain production process. All calculations, receiving / storing commands, and processing data of the CPU are executed by the core. Various CPU cores have a fixed logical structure, and logical units such as L1 cache, L2 cache, execution unit, instruction level unit, and bus interface will have a sci...
Embodiment 2
[0073] Another embodiment of the present invention, this embodiment provides a test method, comprising the following steps:
[0074] S100 sets preset test conditions, and dynamically switches the number of cores, cores or frequencies of the CPU based on the preset test conditions and the switching command.
[0075] Specifically, the number of cores, the dynamic switching of cores or frequencies of the CPU is controlled by setting preset test conditions.
[0076] Exemplarily, there are configuration registers inside the chip, that is, the CPU, and the preset test conditions are set by writing the preset test files into the configuration registers. Change the limited number of cores, cores and frequency by setting the CPU configuration register.
[0077] Wherein, S100 sets preset test conditions, and dynamically switches the number of cores, cores or frequencies of the CPU based on the preset test conditions and switching commands, such as figure 2 As shown, the following tes...
Embodiment 3
[0107] The present invention also provides an embodiment of a test device, such as image 3 shown, including:
[0108] Switching module 101 is used to set preset test conditions, and dynamically switches the number of cores, cores or frequencies of CPU based on the preset test conditions and switching commands.
[0109] The testing module 102 is configured to call the CPU test running file to test the CPU when switching.
[0110] Wherein, the preset test conditions include a preset number of CPU cores, a preset CPU core, a preset CPU frequency, and a preset CPU usage frequency.
[0111] In this embodiment, by testing the working status of each core and frequency of the CPU, and calling the abnormal data of the CPU, the problem of poor CPU quality can be located, so as to realize efficient use of the CPU.
[0112] Through this embodiment, it can be realized that by limiting the number of cores of the CPU, limiting the frequency, and randomly switching the frequency, a complex...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


