METHOD AND SYSTEM GENERATING EXECUTION FILE SYSTEM DEVICE
First Claim
Patent Images
1. A method of generating an execution file for an application program comprising a plurality of functions, the method comprising:
- determining respective number-of-calls information for each one of the plurality of functions; and
generating the execution file by locating in memory each one of the plurality of functions according to its respective number-of-calls information, wherein the higher a number-of-calls information value for a respective function in the plurality of functions is, the more frequently the respective function is called by one or more functions in the plurality of functions.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided is a method and system generating an execution file. The method includes determining number-of-calls information for a number of functions and then generating the execution file by locating the functions based on the number-of-calls information.
-
Citations
14 Claims
-
1. A method of generating an execution file for an application program comprising a plurality of functions, the method comprising:
-
determining respective number-of-calls information for each one of the plurality of functions; and generating the execution file by locating in memory each one of the plurality of functions according to its respective number-of-calls information, wherein the higher a number-of-calls information value for a respective function in the plurality of functions is, the more frequently the respective function is called by one or more functions in the plurality of functions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of generating an execution file for an application program comprising a plurality of functions, the method comprising:
-
determining respective number-of-calls information and size information for each one of the plurality of functions; and generating the execution file by locating each one of the plurality of functions in a memory, wherein the memory comprises a first memory region addressable by a single-word command and generating the execution file comprises; (a) sequentially locating the plurality of functions on a function by function basis beginning at a start address for the first memory region in a descending order according to corresponding number-of-calls information values and beginning with a highest number-of calls information value, wherein the higher a number-of-calls information value for a respective function in the plurality of functions is, the more frequently the respective function is called by one or more functions in the plurality of functions; (b) upon sequentially locating a number of included functions sufficient to fill the first memory region, identifying a last included function and a list of yet to be included functions; (c) determining a remaining space value in the first memory region prior to locating the last included function; (d) comparing size information for each one of the yet to be included functions with the remaining space value; and (e) locating at least one of the yet to be included functions having size information less than the remaining space value in the first memory region before locating the last included function in the first memory value.
-
-
11. A system comprising:
-
a memory configured to store an execution file; a linker configured to determine number-of-calls information for each one of a plurality of functions and generate the execution file by sequentially locating in the memory the plurality of functions based on the number-of-calls information; and a microprocessor calling at least one of the plurality of functions located in the execution file. - View Dependent Claims (12, 13, 14)
-
Specification