Bounding resource consumption using abstract interpretation
AssigneeMicrosoft Corporation
InventorsSumit Gulwani, Krishna Kumar Mehra, Trishul A Chilimbi
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsSumit Gulwani, Krishna Kumar Mehra, Trishul A Chilimbi
Estimating the term…
Bounding resource consumption of code using abstract interpretation includes a static analysis to estimate a code's resource consumption in terms of units of resources utilized at any point during execution, expressed as a function of its scalar inputs. An instrumentation mechanism and an abstract interpretation mechanism are employed to compute bounds on the code resource consumption. The instrumentation mechanism includes incorporating one or more counter variables in the source code to count the number of loop iterations and recursive procedure call invocations. The abstract interpretation mechanism includes computing invariants on the instrumented counter variables and scalar program variables to obtain bounds on the number of loop iterations and recursive procedure call invocations, which are then composed together to obtain resource bounds for the entire program.
A method of statically computing a bound on a resource utilized during execution of code, the method comprising:
A method of statically computing a bound on the number of loop iterations or recursive procedure call invocations, the method comprising:
A system comprising:
Dependencies are inferred from the claim text.