METHODS, SYSTEMS, ARTICLES OF MANUFACTURE AND APPARATUS TO SELECT CODE DATA STRUCTURE TYPES
First Claim
1. An apparatus to select a data structure type, the apparatus comprising:
- an application programming interface (API) engine to generate an abstract data structure (ADS) placeholder in a location of a code sample corresponding to a memory operation;
a data structure selector to select a first candidate data structure having a first candidate data structure type, the first candidate data structure to service the memory operation of the ADS placeholder;
a workload engine to select a first candidate workload type to be processed by the selected first candidate data structure;
an execution logger to;
log first code performance metrics during execution of the code sample during a first iteration corresponding to the first candidate data structure type and the first candidate workload type; and
log second code performance metrics during execution of the code sample during a second duration corresponding to a second candidate data structure type and the first candidate workload type; and
a classification engine to select one of the first candidate data structure type or the second candidate data structure type based on a relative ranking of the first and second code performance metrics.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, apparatus, systems and articles of manufacture are disclosed to select code data structure types. An example disclosed apparatus includes an application programming interface (API) engine to generate an abstract data structure (ADS) placeholder in a location of a code sample corresponding to a memory operation, and a data structure selector to select a first candidate data structure having a first candidate data structure type, the first candidate data structure to service the memory operation of the ADS placeholder. The example apparatus also includes a workload engine to select a first candidate workload type to be processed by the selected first candidate data structure, and an execution logger to log first code performance metrics during execution of the code sample during a first iteration corresponding to the first candidate data structure type and the first candidate workload type, and log second code performance metrics during execution of the code sample during a second duration corresponding to a second candidate data structure type and the first candidate workload type. The example apparatus also includes a classification engine to select one of the first candidate data structure type or the second candidate data structure type based on a relative ranking of the first and second code performance metrics.
3 Citations
21 Claims
-
1. An apparatus to select a data structure type, the apparatus comprising:
-
an application programming interface (API) engine to generate an abstract data structure (ADS) placeholder in a location of a code sample corresponding to a memory operation; a data structure selector to select a first candidate data structure having a first candidate data structure type, the first candidate data structure to service the memory operation of the ADS placeholder; a workload engine to select a first candidate workload type to be processed by the selected first candidate data structure; an execution logger to; log first code performance metrics during execution of the code sample during a first iteration corresponding to the first candidate data structure type and the first candidate workload type; and log second code performance metrics during execution of the code sample during a second duration corresponding to a second candidate data structure type and the first candidate workload type; and a classification engine to select one of the first candidate data structure type or the second candidate data structure type based on a relative ranking of the first and second code performance metrics. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable storage medium comprising computer readable instructions that, when executed, cause at least one processor to at least:
-
generate an abstract data structure (ADS) placeholder in a location of a code sample corresponding to a memory operation; select a first candidate data structure having a first candidate data structure type, the first candidate data structure to service the memory operations of the ADS placeholder; select a first candidate workload type to be processed by the selected first candidate data structure; log first code performance metrics during execution of the code sample during a first iteration corresponding to the first candidate data structure type and the first candidate workload type; log second code performance metrics during execution of the code sample during a second duration corresponding to a second candidate data structure type and the first candidate workload type; and select one of the first candidate data structure type or the second candidate data structure type based on a relative ranking of the first and second code performance metrics. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer-implemented method to select a data structure type, the method comprising:
-
generating, by executing an instruction with at least one processor, an abstract data structure (ADS) placeholder in a location of a code sample corresponding to a memory operation; selecting, by executing an instruction with the at least one processor, a first candidate data structure having a first candidate data structure type, the first candidate data structure to service the memory operations of the ADS placeholder; selecting, by executing an instruction with the at least one processor, a first candidate workload type to be processed by the selected first candidate data structure; logging, by executing an instruction with the at least one processor, first code performance metrics during execution of the code sample during a first iteration corresponding to the first candidate data structure type and the first candidate workload type; logging, by executing an instruction with the at least one processor, second code performance metrics during execution of the code sample during a second duration corresponding to a second candidate data structure type and the first candidate workload type; and selecting, by executing an instruction with the at least one processor, one of the first candidate data structure type or the second candidate data structure type based on a relative ranking of the first and second code performance metrics. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification