# US 2022/0283807 A1 · System and method for the generation and storage of execution tracing information

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283807 A1
- Document ID: US20220283807A1
- Status: Published application
- Kind: A1
- Application number: 17/194,504
- Filed: 2021-03-08
- Published: 2022-09-08
- Earliest claimed: 2021-03-08
- Assignees: Unisys Corporation
- Inventors: Andrew Ward Beale; David Strong
- Web page: https://patentgrep.com/patent/US20220283807A1

## CPC

- G06F 9/3013: {according to data content, e.g. floating-point registers, address registers}
- G06F 8/443: {Optimisation}
- G06F 9/30101: {Special purpose registers}
- G06F 9/30116: {Shadow registers, e.g. coupled registers, not forming part of the register space}
- G06F 9/30123: {according to context, e.g. thread buffers}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 12/0623: {for memory modules}
- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 12/109: for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence)
- G06F 2212/1016: Performance improvement
- G06F 2212/452: Instruction code
- G06F 2212/502: using adaptive policy
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for the storage, within one or more virtual execution context registers, execution tracing information indicative of process/code flow within a processor system. This stored information can include a time stamp, information indicative of where the instruction pointer of the system was pointing prior to any process discontinuity, information indicative of where the instruction pointer of the system was pointing after any process discontinuity, and the number of times a specific instruction or sub-process is executed during a particular process. The data collected and stored can be utilized within such a system for the identification and analysis of code interrupts and profile-guided optimization.

## Claims

### Claim 1

A system for the creation of execution xxxcode flow information comprising:
a plurality of addressable virtual registers, wherein each of the addressable virtual registers stores code indicative of an individual process step;
a plurality of sequential registers;
at least one processor adapted to execute at least one process comprising the sequential execution of the individual process steps as indicated by the code stored within the plurality of addressable virtual registers; and
an instruction pointer adapted to sequentially provide the address of each of the at least addressable virtual registers which stores the code indicative of each step of the at least one process;
wherein the at least one processor is further adapted to:
recognize a discontinuity in the execution of the at least one process; and
store code flow information indicative of the discontinuity in at least one of the plurality of sequential registers.

### Claim 2 (depends on 1)

The system of claim 1 wherein the stored code flow information comprises at least one of the following:
a recordation of the time at which the recognized discontinuity occurred;
the address of the virtual register provided by the instruction pointer prior to recognition of the discontinuity;
the address of the virtual register provided by the instruction pointer following the recognition of the discontinuity; and
a process identifier.

### Claim 3 (depends on 1)

The system of claim 1 wherein the plurality of sequential registers comprises a circular register arrangement.

### Claim 4 (depends on 1)

The system of claim 1 wherein the plurality of sequential registers comprises at least one of the following:
a virtual memory; and
a physical memory.

### Claim 5 (depends on 1)

The system of claim 1 wherein the at least one processor comprises at least one of the following:
a physical processor; and
a virtual processor.

### Claim 6 (depends on 1)

The system of claim 1 wherein the plurality of addressable virtual registers comprises a virtual context memory.

### Claim 7 (depends on 6)

The system of claim 6 wherein the virtual execution context memory comprises at least one of the following:
static random-access memory;
dynamic random-access memory;
a non-volatile memory; and
a three-dimensional cross-point memory.

### Claim 8 (depends on 1)

The system of claim 1 further comprising at least one alternate memory, and wherein the at least one processor is further adapted to:
generate an interrupt when the plurality of sequential registers are full; and
move, in response to the generation of the interrupt, at least a portion of the data stored within the plurality of sequential registers to the at least one alternate memory repository.

### Claim 9 (depends on 8)

The system of claim 8 wherein the at least one processor is further adapted to move the data stored in the at least one alternate memory repository to at least one persistent memory device.

### Claim 10 (depends on 8)

The system of claim 8 wherein the at least one alternate memory repository comprises at least one persistent memory device.

### Claim 11

A method for the creation of code flow information in a system comprising:
a plurality of addressable virtual registers, wherein each of the addressable virtual registers stores code indicative of an individual process step;
a plurality of sequential registers;
at least one processor adapted to execute at least one process comprising the sequential execution of the individual process steps as indicated by the code stored within the plurality of addressable virtual registers; and
an instruction pointer adapted to sequentially provide the address of each of the plurality of addressable virtual registers storing the code indicative of each step of the at least one process;
comprising the steps of:
recognizing a discontinuity in the execution of the at least one process; and
storing code flow information indicative of the discontinuity in at least one of the plurality of sequential registers.

### Claim 12 (depends on 11)

The method of claim 11 wherein the stored code flow information comprises at least one of the following:
a recordation of the time at which the recognized discontinuity occurred;
the address of the virtual register provided by the instruction pointer prior to recognition of the discontinuity;
the address of the virtual register provided by the instruction pointer following the recognition of the discontinuity; and
a process identifier.

### Claim 13 (depends on 11)

The method of claim 11 wherein the plurality of sequential registers comprises a circular register arrangement.

### Claim 14 (depends on 11)

The method of claim 11 wherein the plurality of sequential registers comprises at least one of the following:
a virtual memory; and
a physical memory.

### Claim 15 (depends on 11)

The method of claim 11 wherein the at least one processor comprises at least one of the following:
a physical processor; and
a virtual processor.

### Claim 16 (depends on 1)

The method of claim 1 wherein the plurality of addressable virtual registers comprises a virtual context memory.

### Claim 17 (depends on 16)

The method of claim 16 wherein the virtual execution context memory comprises at least one of the following:
static random-access memory;
dynamic random-access memory;
a non-volatile memory; and
a three-dimensional cross-point memory.

### Claim 18 (depends on 11)

The method of claim 11 further comprising the steps of:
generating an interrupt when the plurality of sequential registers are full; and
moving, in response to the generation of the interrupt, at least a portion of the data stored within the plurality of sequential registers to at least one alternate memory repository.

### Claim 19 (depends on 18)

The method of claim 18 further comprising the step of:
moving the data stored in the at least one alternate memory repository to at least one persistent memory device.

### Claim 20 (depends on 18)

The method of claim 18 wherein the he at least one alternate memory repository comprises at least one persistent memory device.
