CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0653 (2013.01); G06F 3/0679 (2013.01)] | 20 Claims |
1. A system for dynamically re-grouping overlay functions, comprising:
a flash memory configured to store a first initial overlay and a second initial overlay, wherein the first initial overlay includes a first overlay function and the second initial overlay includes a second overlay function;
a Random-Access Memory (RAM); and
a controller configured to:
copy the first initial overlay into the RAM based on the first overlay function being called for execution by firmware;
swap the first initial overlay with the second initial overlay based on the second overlay function being called for execution by the firmware;
monitor function calls between the first overlay function and the second overlay function over a monitoring period;
determine whether a number of the function calls is greater than a threshold value; and
based, at least in part, on the number of the function calls being greater than the threshold value, re-group the first overlay function and the second overlay function into a new overlay; and
store the new overlay in the flash memory.
|