Patent · US Active

Instrumentation-based detection of accidental algorithmic complexity of a procedure

US12124826B2 · kind B2 · utility

0Cited by
5References
22Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJan 10, 2023
Grant dateOct 22, 2024
Priority date
Expiry dateApr 22, 2043

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2201/865
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Techniques are described herein that are capable of detecting accidental algorithmic complexity of a procedure by using instrumentation. A number of times a parent procedure calls a child procedure during each of multiple executions of the parent procedure is detected by using instrumentation to provide call counts for the respective executions. A value of an attribute of the parent procedure during each of the executions is detected by using the instrumentation to provide attribute values for the respective executions. A function is generated that defines a curve that estimates a relationship between the attribute values for the respective executions and the call counts for the respective executions. Based at least on a slope of the curve, accidental algorithmic complexity of the parent procedure is determined. Based at least on the accidental algorithmic complexity satisfying a complexity criterion, a remedial action is performed with regard to the accidental algorithmic complexity.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.