Instrumentation for nested conditional checks
US11561778B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Nov 23, 2021 |
| Grant date | Jan 24, 2023 |
| Priority date | — |
| Expiry date | Nov 23, 2041 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/43
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Aspects include executing a first phase that includes injecting instrumentation into program code in response to identifying an inner conditional check in the program code and running the instrumented program with a representative workload. The injecting includes duplicating the inner conditional check and placing a duplicate of the inner conditional check before a respective original nested conditional check in the program code to create an instrumented program. The instrumented program includes a plurality of basic blocks including original basic blocks and a newly added basic block that includes the duplicate of the inner conditional check. The method also includes executing a second phase that includes collecting execution frequency values from counters associated with the basic blocks to form metadata used to make optimization decisions for the program code.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.