Mapping a Class, Method, Package, and/or Pattern to a Component
First Claim
1. A method of collecting profile information for a component of a software program, the method comprising:
- generating a data structure that maps at least one method to the component, wherein the method includes a name, and wherein the data structure maps the method to the component using at least a portion of the name of the method; and
in response to execution of the method by a profiler during profiling of the software program;
determining a statistic associated with the execution of the method;
accessing the data structure using the name of the method to determine the component associated with the method; and
associating the determined statistic with the determined component.
1 Assignment
0 Petitions
Accused Products
Abstract
A program product, apparatuses, and methods provide for the collection of profile information for a component of a software program by generating a data structure that maps at least one method to a component. The method includes a name, and the data structure maps the method to the component using at least a portion of the name of the method. A class or pattern may also be mapped to a component. Furthermore, during profiling, a statistic associated with the execution of the method is determined; the data structure is accessed using the name of the method to determine the associated component; and the determined statistic is associated with the determined component. By doing so, method level and class level information can be aggregated to improve profiling, often leading to a clearer picture of which components are contributing to the performance and memory footprint of large scale software programs.
30 Citations
25 Claims
-
1. A method of collecting profile information for a component of a software program, the method comprising:
-
generating a data structure that maps at least one method to the component, wherein the method includes a name, and wherein the data structure maps the method to the component using at least a portion of the name of the method; and in response to execution of the method by a profiler during profiling of the software program; determining a statistic associated with the execution of the method; accessing the data structure using the name of the method to determine the component associated with the method; and associating the determined statistic with the determined component. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of collecting profile information for a component of a software program, the method comprising:
-
generating a data structure that maps at least one pattern to the component, wherein the pattern includes at least one name, wherein the pattern is associated with a method, and wherein the data structure maps the pattern to the component using at least a portion of the name of the pattern; and in response to execution of the method by a profiler during profiling of the software program; determining a statistic associated with the execution of the method; accessing the data structure using a name of the method; and associating the determined statistic with the determined component. - View Dependent Claims (16, 17, 18, 19)
-
-
20. An apparatus, comprising:
-
at least one memory; at least one processor; and program code configured to be executed by the processor to collect profile information for a component of a software program, the program code configured to generate a data structure that maps at least one method to the component, wherein the method includes a name, and wherein the data structure maps the method to the component using at least a portion of the name of the method; and
, in response to execution of the method by a profiler during profiling of the software program, determine a statistic associated with the execution of the method, access the data structure using the name of the method to determine the component associated with the method, and associate the determined statistic with the determined component. - View Dependent Claims (21, 22, 23, 24)
-
-
25. An apparatus, comprising:
-
at least one memory; at least one processor; and program code configured to be executed by the processor to collect profile information for a component of a software program, the program code configured to generate a data structure that maps at least one pattern to the component, wherein the pattern includes at least one name, wherein the pattern is associated with a method, and wherein the data structure maps the pattern to the component using at least a portion of the name of the pattern; and
in response to execution of the method by a profiler during profiling of the software program;
determine a statistic associated with the execution of the method;
access the data structure using a name of the method; and
associate the determined statistic with the determined component.
-
Specification