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

Analysis method and device for thread delay

An analysis method and thread technology, applied in the direction of program control design, instrumentation, error detection/correction, etc., can solve problems affecting execution

Active Publication Date: 2018-03-30
MEDIATEK INC
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

A delay in one thread may adversely affect the execution of another thread

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
  • Analysis method and device for thread delay
  • Analysis method and device for thread delay
  • Analysis method and device for thread delay

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the technical problems, technical solutions and beneficial effects solved by the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0061] Certain terms are used in the description and claims of this application to refer to particular components. Those skilled in the art should understand that hardware manufacturers may use different terms to refer to the same component. The specification and claims do not use the difference in name as a way to distinguish components, but use the difference in function of components as a criterion for distinguishing. "Include" and "comprising" mentioned throughout the specification and claims are open-ended terms, so they should be interpreted as "including (including...

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 invention provides a thread delay analysis method and device. Wherein the method comprises: determining the thread of interest; calculating the sum of the time during which the thread of interest stays in the running queue to determine the length of time the thread is in the running queue; calculating the thread of interest being preempted by other threads to determine the thread preemption duration; and evaluate the thread delay of the interested thread according to the thread preemption duration and the duration of the thread in the run queue. The invention can analyze the cause of thread delay, thereby providing basis for system performance optimization.

Description

technical field [0001] The present invention relates to the analysis of thread delay, and in particular to a method and device for analyzing thread delay, which can be used to evaluate the thread delay caused by thread preemption and the power management strategy of hardware related to the thread. Background technique [0002] In computer programming, a thread is the smallest execution unit of CPU (Central Process Unit, central processing unit) utilization. A program can be divided into multiple threads. Each thread can execute independently of other threads in the same program. On a machine with multiple processors or multi-core processors, several threads of a program can be executed simultaneously. Therefore, the threading model is a flexible organizational mechanism that can improve program execution efficiency (due to parallel execution of program codes). [0003] Since threads need to access limited resources on the machine (eg, CPU, memory, and other hardware), the...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3612G06F9/485G06F2209/508G06F2209/548G06F2209/483G06F11/3476G06F11/3433G06F11/3452G06F9/4887
Inventor 林毅轩黄信宪
Owner MEDIATEK INC