Determining Optimal Preload Distance at Runtime
AssigneeQUALCOMM Incorporated
InventorsGerald Paul Michalak, Gregory Allan Reid
Life of this patent
Estimating the term…
Abstract
A run-time delay of a memory is measured, a run-time duration of a routine is determined, and an optimal run-time preload distance for the routine is determined based on the measured run-time memory delay and the determined run-time duration of the routine. Optionally, the run-time duration of the routine can be determined by measuring a run-time duration, and optionally the run-time duration can be determined based on a database of run-time delay for operations of the routine. Optionally, the optimal run-time preload distance is used in performing a loop of the routines.
Claims51
A method for optimizing a preloading of a processor from a memory, at run time, comprising:
- measuring a run-time memory latency of the memory and generating, as a result, a measured run-time memory latency;
- determining a run-time duration of a routine on the processor and generating, as a result, a determined run-time duration;
- determining a run-time optimal preloading distance based on the measured run-time memory latency and the determined run-time duration of the routine on the processor.
An apparatus for optimizing a preloading of a processor from a memory, at run time, comprising:
- means for measuring run-time memory latency of the memory and generating, as a result of the measuring, a measured run-time memory latency;
- means for determining a run-time duration of a routine on the processor and generating, as a result, a determined run-time duration;
- and
- means for determining a run-time optimal preloading distance based on the measured run-time memory latency and the run-time duration of the routine on the processor.
A computer product having a computer readable medium comprising instructions that, when read and executed by a processor, cause the processor to perform operations for optimizing a preloading of a processor from a memory, at run time, the instructions comprising:
- instructions that cause the processor to measure run-time memory latency of the memory to generate a measured run-time memory latency;
- instructions that cause the processor to determine a run-time duration of a routine on the processor and to generate a resulting determined run-time duration;
- instructions that cause the processor to determine a run-time optimal preloading distance based on the measured run-time memory latency and the determined run-time duration of the routine on the processor.
Dependencies are inferred from the claim text.