Unlock instant, AI-driven research and patent intelligence for your innovation.

GPU occupancy rate determination method and device, processing system and storage medium

A technology to determine the method and occupancy rate, which is applied in the direction of electrical digital data processing, instruments, hardware monitoring, etc., and can solve the problem that the occupancy of resources in the working state is not monitored.

Active Publication Date: 2020-11-13
CHANGSHA JINGJIA MICROELECTRONICS +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the traditional solution, the 2D module and the 3D module perform tasks independently and share resources such as buffer memory. The working status of each module and the occupancy of resources are not monitored.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • GPU occupancy rate determination method and device, processing system and storage medium
  • GPU occupancy rate determination method and device, processing system and storage medium
  • GPU occupancy rate determination method and device, processing system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] This embodiment provides a method for determining the GPU occupancy rate of a graphics processor, which can determine the occupancy rate of the GPU, can determine the occupancy rate of the GPU in the processing system, and can also determine the occupancy rate of the working modules in the GPU in the GPU, for example: Determine the occupancy rate of working modules such as 2D module and 3D module.

[0024] In practical applications, the method for determining the GPU occupancy rate of a graphics processor can be implemented by a computer program, such as application software, etc.; or, the method can also be implemented as a medium storing related computer programs, such as a U disk, a cloud disk, etc.; Alternatively, the method may also be implemented by an entity device integrated or installed with a relevant computer program, such as a chip, a mobile smart device, and the like.

[0025] figure 1 It is a flow chart of the method for determining the GPU occupancy rate...

Embodiment 2

[0040] This embodiment optimizes the foregoing method for determining the GPU occupancy rate on the basis of the foregoing embodiments, and provides a specific implementation manner.

[0041] figure 2 It is a flow chart of the method for determining the GPU occupancy rate provided in Embodiment 2 of the present application. Such as figure 2 As shown, the method for determining the GPU occupancy rate provided in this embodiment includes:

[0042] Step 201 , within a preset period, acquire the working status of the GPU according to the preset sampling frequency, and add 1 to the sampling counter after acquiring the working status once.

[0043] The working state of the GPU includes a busy state and an idle state. In a preset period, the working state of the GPU is acquired multiple times according to the preset sampling frequency. And set a sampling counter, clear the sampling counter at the beginning of the preset period, and add 1 to the sampling counter after obtaining ...

Embodiment 3

[0061] This embodiment optimizes the method for determining the GPU occupancy rate on the basis of the above-mentioned embodiments, and in particular provides a specific implementation method:

[0062] image 3 It is a flow chart of the method for determining the GPU occupancy provided in Embodiment 3 of the present application. Such as image 3 As shown, the determination method includes:

[0063] Step 301 , start a working state acquisition timer.

[0064] The timing time of the timer is a preset period, and the following steps are executed after the timer is started. After the timer stops, execution of the following steps stops.

[0065] Step 302, initialize the sampling counter and the working state counter.

[0066] Specifically, the sampling counter and the working state counter are cleared.

[0067] Step 303: Add 1 to the sampling counter.

[0068] Step 304, read the flag bit corresponding to the GPU in the status register.

[0069] The value of this flag bit is...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a GPU occupancy rate determination method and device, a processing system and a storage medium. The method comprises the steps: obtaining the total number of times that a GPU is in a busy state in a preset period; and determining the occupancy rate of the GPU according to the total number of times. According to the GPU occupancy rate determination method and device, the processing system and the storage medium provided by the embodiment of the invention, the GPU occupancy rate can be determined.

Description

technical field [0001] The present application relates to processor technology, and in particular to a method, device, processing system and storage medium for determining GPU occupancy. Background technique [0002] Graphics Processing Unit (GPU for short) is a processor specially used to process images or graphics. It is used in the display system of electronic terminals, which can reduce the burden of the central processing unit (CPU) on images. Or graphics processing pressure, improve the overall processing efficiency of the display system. [0003] The working modules inside the GPU mainly include 2D modules and 3D modules. Among them, the 2D module is mainly responsible for desktop display, including: block copy, rectangle filling, monochrome expansion, bit mask, pixel logic processing and other operations. The 3D module is mainly responsible for generating three-dimensional graphics. In the traditional solution, the 2D module and the 3D module perform tasks indepen...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/30
CPCG06F11/3024Y02D10/00
Inventor 周敏龙
Owner CHANGSHA JINGJIA MICROELECTRONICS