CPC G06F 9/485 (2013.01) [G06F 9/544 (2013.01)] | 18 Claims |
1. An electronic device comprising:
a display;
a volatile memory;
a non-volatile memory storing a plurality of applications; and
a processor, wherein the processor is configured to:
switch a screen displayed on the display from a first screen to a second screen, wherein the second screen includes a plurality of objects respectively indicating the plurality of applications, wherein each of the plurality of objects are configured to launch the respective plurality of applications in response to receiving a touch input, and wherein the plurality of objects includes objects configured to launch respective applications which are not running; and
in response to the switching to the second screen:
identify applications which are not running among the plurality of applications;
select at least one application from among the identified applications, based on a predetermined criterion; and
load data of at least one of the identified applications among the plurality of applications that are not running from the non-volatile memory to the volatile memory,
wherein the predetermined criterion is based on a prefetch efficiency determined by at least one of:
comparing a first entry time required to execute an application in a state where the application is not prefetched and a second entry time required to execute the application in a state where the application is prefetched: or
comparing a size of first data loaded into the volatile memory, measured when the application is executed in the state where the application is not prefetched and a size of second data loaded into the volatile memory, measured when the application is executed in the state where the application is prefetched.
|