Graphics Unit Performance Profiling via Task Flag Propagation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing graphics processing technologies face challenges in obtaining fine-grained performance profiling, particularly in tile-based renderers, where objects span multiple tiles, making it difficult to accurately measure performance data.

Innovation Solution

The method involves tagging specific rendering tasks with a set flag, allowing counters to measure performance only for the tagged tasks, enabling accurate profiling of subsets of work within the graphics pipeline by propagating the flag through the pipeline stages.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If tile-based rendering is used to exploit parallelism and improve rendering throughput, then productivity is improved, but the ability to obtain fine-grained performance information for specific graphical objects deteriorates

Engineering Contradiction:
Improverendering throughputVSAvoidperformance measurement granularity
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent segments the rendering work by introducing task identifiers that uniquely identify each graphical object's rendering task. These identifiers are propagated through the tile-based rendering pipeline, allowing performance measurements to be segmented and attributed to specific graphical objects even when their rendering is distributed across multiple tiles and processing cycles.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces task identifiers as an intermediary mechanism that bridges the gap between the parallelized tile-based rendering execution and the need for object-specific performance measurement. These identifiers act as mediators that carry object identity information through the complex pipeline, enabling accurate performance attribution without disrupting the parallel rendering flow.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If graphical objects are rendered across multiple tiles in parallel, then rendering efficiency is improved, but the difficulty of detecting and measuring performance for individual objects increases

Engineering Contradiction:
Improverendering efficiencyVSAvoidobject performance detection
Core Design Contradiction:
ProductivityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent applies preliminary action by assigning task identifiers to graphical objects before they enter the rendering pipeline. This pre-tagging ensures that even as objects are fragmented across multiple tiles and processed in parallel, their performance data can be traced back to the original object through the pre-established identifier, simplifying performance detection.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses task identifiers as a form of digital 'coloring' or tagging system. Just as color changes can visually distinguish different objects, these identifiers uniquely mark each graphical object's rendering task, making it easy to detect and measure performance for specific objects amidst the parallel processing of multiple objects across different tiles.

Inventive Principle:
Principle #32Color changes

3Measurement precision

If performance measurement is implemented for each graphical object in a tile-based renderer, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
Improveperformance measurement accuracyVSAvoidprofiling system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent achieves universality by designing a task identifier system that serves multiple functions: it uniquely identifies graphical objects, propagates through the entire tile-based rendering pipeline, and enables performance measurement. This multi-functional approach avoids the need for separate complex tracking mechanisms for each measurement goal, thereby reducing overall system complexity while maintaining high measurement precision.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentEP3316143B1Performance profiling of a graphics unit
Publication Date: 2022.12.28 IMAGINATION TECH LTD
  • EP3316143B1 patent drawingFigure 1
  • EP3316143B1 patent drawingFigure 2
  • EP3316143B1 patent drawingFigure 3

AI summary

A graphics unit and a method of profiling the performance of a graphics unit when rendering a scene according to a graphics pipeline, the method comprising: executing stages of the graphics pipeline using one or more units of rendering circuitry to perform at least one rendering task that defines a portion of the work required to render the scene, the at least one rendering task associated with a set flag; propagating an indication of the flag through stages of the graphics pipeline as the scene is rendered so that work done as part of the at least one rendering task is associated with the set flag; changing the value of a counter associated with a unit of rendering circuitry in response to an occurrence of an event whilst that unit performs an item of work associated with the set flag; and reading the value of the counter to thereby measure the occurrences of the event caused by completing the at least one rendering task.