Unified Trace Stream for High-Performance Processor Debugging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

High-performance computers face challenges in accurately tracing and modeling system performance due to high bandwidth requirements for capturing stall and event data, which often overwhelm current trace output systems, leading to inefficient use of circuitry and increased complexity.

Innovation Solution

An electronic tracing process that packs stall and reason data, as well as event and reason data, into a single high-priority timing information stream, reducing bandwidth demands and eliminating the need for separate data streams, thereby optimizing trace circuitry and reducing hardware area.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If separate data streams are used for stall/events and timing information, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
Improvetracing accuracyVSAvoidtrace circuitry complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent combines stall/events data and timing information into a single unified trace stream, eliminating the need for separate data streams. This merging approach maintains the ability to accurately trace both stall durations and timing information while reducing the complexity of trace output circuits and simplifying the overall tracing system architecture.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The unified trace stream serves multiple functions simultaneously by encoding both stall/events information and timing data in the same output channel. This multi-functional approach allows a single trace circuit to perform what previously required separate dedicated circuits, thereby reducing device complexity while preserving measurement precision.

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

2Loss of information

If separate data streams are used for stall/events and timing information, then information completeness is improved, but bandwidth requirements increase

Engineering Contradiction:
Improveprofiling data completenessVSAvoidbandwidth requirements
Core Design Contradiction:
Loss of informationVSQuantity of substance

Solution Approach 1:

By merging stall/events data and timing information into a single encoded stream, the patent reduces the total bandwidth requirements compared to transmitting separate data streams. The unified encoding approach transmits both types of information simultaneously over one channel, eliminating redundant overhead and reducing the quantity of data transmission resources needed.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent embeds stall/events information within the timing stream structure, creating a nested data organization where profiling data is integrated into the existing timing information framework. This nesting allows complete information to be conveyed through a single stream without requiring additional bandwidth for separate data transmission.

Inventive Principle:
Principle #7Nested doll (Nesting)

3Measurement precision

If multiple trace streams are managed, then measurement precision is improved, but ease of operation deteriorates

Engineering Contradiction:
Improvetrace accuracyVSAvoidsoftware decoding complexity
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The patent merges multiple trace streams into a single unified output that can be decoded by software without the complexity of managing multiple separate streams. The unified stream maintains all necessary information for accurate tracing while simplifying the software decoding process, as it only needs to handle one stream rather than coordinating multiple streams.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS9798645B2Embedding stall and event trace profiling data in the timing stream
Publication Date: 2017.10.24 TEXAS INSTRUMENTS INC
  • US9798645B2 patent drawing
  • US9798645B2 patent drawing
  • US9798645B2 patent drawing

AI summary

An electronic tracing process includes packing both stall (215) and reason (219) data into a single high priority timing information stream. An integrated circuit includes an electronic processor (110), and a tracing circuit (120) operable to pack both stall and events data into a single timing information stream. Other circuits, processes and systems are also disclosed.