Method and system for run-time cache logging
First Claim
1. A system for run-time cache optimization, comprising a cache logger, wherein the cache logger creates a profile of performance of a program code during a run-time execution thereby producing a cache log;
- and a memory management director, wherein the memory management director rearranges at least a portion of said program code in view of said profile and produces a rearranged portion, wherein said memory management director provides at least said portion of the program code to a memory management unit that manages at least one cache memory in accordance with said cache log.
1 Assignment
0 Petitions
Accused Products
Abstract
A method (400) and system (106) is provided for run-time cache optimization. The method includes profiling (402) a performance of a program code during a run-time execution, logging (408) the performance for producing a cache log, and rearranging (410) a portion of program code in view of the cache log for producing a rearranged portion. The rearranged portion is supplied to a memory management unit (240) for managing at least one cache memory (110-140). The cache log can be collected during a real-time operation of a communication device and is fed back to a linking process (244) to maximize a cache locality compile-time. The method further includes loading a saved profile corresponding with a run-time operating mode, and reprogramming a new code image associated with the saved profile.
143 Citations
20 Claims
-
1. A system for run-time cache optimization, comprising
a cache logger, wherein the cache logger creates a profile of performance of a program code during a run-time execution thereby producing a cache log; - and
a memory management director, wherein the memory management director rearranges at least a portion of said program code in view of said profile and produces a rearranged portion, wherein said memory management director provides at least said portion of the program code to a memory management unit that manages at least one cache memory in accordance with said cache log. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
- and
-
11. A method for run-time cache optimization, comprising the steps of:
-
profiling a performance of a program code during a run-time execution;
logging said performance for producing a cache log; and
rearranging a portion of program code in view of said cache log for producing a rearranged portion, wherein said rearranged portion is supplied to a memory management unit for managing at least one cache memory. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A machine readable storage, having stored thereon a computer program having a plurality of code sections executable by a portable computing device for causing the portable computing device to perform the steps of:
-
profiling a performance of a program code during a run-time execution;
logging said performance for producing a cache log; and
rearranging a portion of program code in view of said cache log for producing a rearranged portion, wherein said cache log is collected during a real-time operation of a communication device and is fed back to a linking process to maximize a cache locality compile time. - View Dependent Claims (20)
-
Specification