Back to results
US 7,069,544 B1Granted
Dynamic selection of a compression algorithm for trace data
AssigneeMIPS Technologies, Inc.
InventorRadhika Thekkath
Life of this patent
Estimating the term…
Abstract
A system and method for program counter and data tracing is disclosed. The tracing mechanism of the present invention enables increased visibility into the hardware and software state of the processor core.
Claims20
A tracing system, comprising:
- a plurality of compression modules that each receive a trace data input from a source of trace data having a plurality of different trace data types, each of said plurality of compression modules implementing a different compression method to compress a piece of trace data to produce a piece of compressed trace data;
- a compression selector module coupled to said plurality of compression modules, said compression selector module receiving pieces of compressed trace data that are produced by said plurality of compression modules, said compression selector module selecting the piece of compressed trace data that exhibits a desired level of trace data compression;
- a trace bus, said selected piece of compressed trace data transmitted on said trace bus;
- said compression selector module signaling the compression method that was used to compress said selected piece of compressed trace data;
- and
- said tracing system signaling the trace data type of said selected piece of compressed trace data transmitted on said trace bus.
3 more elements
A computer program product comprising:
- computer-readable program code for causing a computer to describe a plurality of compression modules that each receive trace data input from a source of trace data having a plurality of different trace data types, each of said plurality of compression modules implementing a different compression method to compress a piece of trace data to produce a piece of compressed trace data;
- computer-readable program code for causing a computer to describe a compression selector module coupled to said plurality of compression modules, said compression selector module receiving pieces of compressed trace data that are produced by said plurality of compression modules, said compression selector module selecting the piece of compressed trace data that exhibits a desired level of trace data compression;
- computer-readable program code for causing a computer to describe transmitting said selected piece of compressed trace data on a trace bus;
- computer readable program code for causing said selector module to signal the compression method that was used to compress said selected piece of compressed trace data;
- computer readable program code for signaling the trace data type of said selected piece of compressed trace data;
- and
- a computer-usable medium configured to store the computer-readable program codes.
4 more elements
A method for enabling a computer to generate tracing logic, comprising:
- transmitting computer-readable program code to a computer, said computer-readable program code including:
- computer-readable program code for causing a computer to describe a plurality of compression modules that each receive trace data input from a source of trace data having a plurality of different trace data types each of said plurality of compression modules implementing a different compression method to compress a piece of trace data to produce a piece of compressed trace data;
- computer-readable program code for causing a computer to describe a compression selector module coupled to said plurality of compression modules, said compression selector module receiving pieces of compressed trace data that are produced by said plurality of compression modules, said compression selector module selecting the piece of compressed trace data that exhibits a desired level of trace data compression;
- computer-readable program code for causing a computer to describe transmitting said selected piece of compressed trace data on a trace bus;
- computer readable program code for causing said selector module to signal the compression method that was used to compress said selected piece of compressed trace data;
- and
- computer readable program code for signaling the trace data type of said selected piece of compressed trace data.
4 more elements
A computer data signal embodied in a transmission medium comprising:
- computer-readable program code for causing a computer to describe a plurality of compression modules that each receive trace data input from a source of trace data having a plurality of different trace data types, each of said plurality of compression modules implementing a different compression method to compress a piece of trace data to produce a piece of compressed trace data;
- computer-readable program code for causing a computer to describe a compression selector module coupled to said plurality of compression modules, said compression selector module receiving pieces of compressed trace data that are produced by said plurality of compression modules, said compression selector module selecting the piece of compressed trace data that exhibits a desired level of trace data compression;
- computer-readable program code for causing a computer to describe transmitting said selected piece of compressed trace data on a trace but;
- computer readable program code for causing said selector module to signal the compression method that was used to compress said selected piece of compressed trace data;
- and
- computer readable program code for signaling the trace data type of said selected piece of compressed trace data.
3 more elements
A tracing method, comprising:
- compressing a piece of trace data having one of a plurality of different trace data types using a plurality of compression methods to produce a corresponding plurality of pieces of compressed trace data;
- selecting one of said plurality of pieces of compressed trace data;
- outputting said selected piece of compressed trace data on a trace bus;
- signaling the compression method used to produce said selected piece of compressed trace data;
- and
- signaling the trace data type of said selected piece of compressed trace data.
3 more elements
A tracing method, comprising:
- compressing a piece of trace data having one of a plurality of different trace data types using a plurality of compression methods to produce a corresponding plurality of pieces of compressed trace data;
- determining which of said plurality of pieces of compressed trace data exhibits a desired level of trace data compression;
- selecting one of said plurality of pieces of compressed trace data based upon said determination;
- and
- outputting said selected piece of compressed trace data on a trace bus;
- signaling the compression method used to compress said selected piece of compressed trace data;
- and signaling the trace data type of said selected piece of compressed trace data.
4 more elements
A tracing system, comprising:
- a plurality of compression modules that each receive a stream of input trace information, said stream of input trace information including a plurality of pieces of input trace data wherein each piece of input trace data has an associated trace data type each of said plurality of compression modules being configured to receive said plurality of pieces of input trace data and implement a different compression method to compress said plurality of pieces of input trace data to produce a corresponding plurality of pieces of compressed trace data compressed by different compression methods;
- a compression selector module coupled to said plurality of compression modules, wherein upon receipt of a piece of compressed trace data from each of said plurality of compression modules, said received pieces of compressed trace data corresponding to a single piece of input trace data, said compression selector module selects the piece of compressed trace data that exhibits a desired level of trace data compression;
- a trace bus, said selected piece of compressed trace data transmitted on said trace bus
- said compression selector module signaling the compression method that was used to compress said selected piece of compressed trace data;
- and
- said tracing system signaling the trace data type of said selected piece of compressed trace data transmitted on said trace bus.
3 more elements
Dependencies are inferred from the claim text.