Disclosure of Invention
The invention provides a method for evaluating the synchronous control of the graphic pipeline, which aims to solve the technical problems in the background technology and check the synchronous control mechanism in the graphic pipeline processing process.
The technical solution of the invention is as follows: the invention relates to a method for synchronously controlling and evaluating a graphic assembly line, which is characterized by comprising the following steps of: the method comprises the following steps:
1) the unit in the flowing water module calculates synchronous control evaluation;
2) synchronously controlling and evaluating data streams among the flow modules;
3) command stream synchronous control evaluation among the flow modules;
4) and performing mixed synchronous control evaluation on the data stream and the command stream among the flow modules.
Preferably, the specific steps in step 1) are as follows: and taking the computing unit as an evaluation object, and comprehensively evaluating the task scheduling overhead, the task computing overhead, the memory access overhead and the parallel granularity of the computing unit.
Preferably, the specific steps in step 2) are as follows: and performing control evaluation on data concurrency among multiple pipelines, evaluating performance balance among the pipeline units, and evaluating the continuity of the pipeline data flow.
Preferably, the specific steps in step 3) are as follows: the method comprises the following steps of processing control evaluation on a configuration command stream, processing control evaluation on a drawing command stream and subdivision evaluation on a pipeline stage.
Preferably, the specific steps in step 4) are as follows: and synchronous control evaluation is performed on the command stream waiting data stream in the pipeline, and synchronous control evaluation is performed on the data stream waiting command stream in the pipeline.
The invention has the advantages that: the invention provides a method for synchronously controlling and evaluating a graphic assembly line, which comprises the steps of calculating synchronous control evaluation by units in a graphic assembly line module and objects to be evaluated and indexes to be evaluated between the graphic assembly line module and the assembly line module when the synchronous control evaluation is determined; synchronously controlling and evaluating data streams among the flow modules; command stream synchronous control evaluation among the flow modules; the data stream and the command stream between the flow modules are mixed and synchronously controlled and evaluated; and providing a direction basis for the optimization of the graphic flow control process.
Detailed Description
The invention relates to a method for synchronously controlling and evaluating a graphic assembly line, which comprises the following steps of:
1) the unit in the flowing water module calculates synchronous control evaluation;
2) synchronously controlling and evaluating data streams among the flow modules;
3) command stream synchronous control evaluation among the flow modules;
4) and performing mixed synchronous control evaluation on the data stream and the command stream among the flow modules.
Wherein, the specific steps in the step 1) are as follows: and taking the computing unit as an evaluation object, and comprehensively evaluating the task scheduling overhead, the task computing overhead, the memory access overhead and the parallel granularity of the computing unit.
Wherein, the specific steps in the step 2) are as follows: and performing control evaluation on data concurrency among multiple pipelines, evaluating performance balance among the pipeline units, and evaluating the continuity of the pipeline data flow.
Wherein, the specific steps in the step 3) are as follows: the method comprises the following steps of processing control evaluation on a configuration command stream, processing control evaluation on a drawing command stream and subdivision evaluation on a pipeline stage.
Wherein, the specific steps in the step 4) are as follows: and synchronous control evaluation is performed on the command stream waiting data stream in the pipeline, and synchronous control evaluation is performed on the data stream waiting command stream in the pipeline.
The technical solution of the present invention is further described in detail with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, the method for evaluating the synchronous control of the graphics pipeline in the preferred embodiment of the present invention specifically includes the following steps:
1) the unit in the flowing water module calculates synchronous control evaluation;
taking a computing unit as an evaluation object, and comprehensively evaluating task scheduling overhead, task computing overhead, access overhead and computing unit parallel granularity;
2) synchronously controlling and evaluating data streams among the flow modules;
the method comprises the following steps of concurrently performing control evaluation on data among multiple assembly lines, evaluating performance balance among assembly line units, and evaluating the continuity of assembly line data streams;
3) command stream synchronous control evaluation among the flow modules;
processing control evaluation on the configuration command stream, processing control evaluation on the drawing command stream and subdivision evaluation on the pipeline stage;
4) the data stream and the command stream between the flow modules are mixed and synchronously controlled and evaluated;
and synchronous control evaluation is performed on the command stream waiting data stream in the pipeline, and synchronous control evaluation is performed on the data stream waiting command stream in the pipeline.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.