Patent ID: 9558117
Date: 2017-01-31
CPC Classifications: G06F

Claim:
1. A method for adaptive implementation of victim cache modes in a portable computing device (PCD), the method comprising: partitioning an upper level cache into a main portion and a sample portion; partitioning a lower level cache into a main portion and a sample portion, wherein the main portion of the upper level cache is in communication with the main portion of the lower level cache and the sample portion of the upper level cache is in communication with the sample portion of the lower level cache; obtaining a victim mode sample data set and a normal mode sample data set from the lower level cache; determining based on the victim mode sample data set and the normal mode sample data set whether to operate the lower level cache as a victim to the upper level cache; and if the determination is to operate the lower level cache as a victim to the upper level cache, causing the main portion of lower level cache to operate as a victim to the main portion of the upper level cache, and if the determination is to not operate the lower level cache as a victim to the upper level cache, causing the main portion of lower level cache to operate in a non-victim mode, wherein determining based on the victim mode sample data set and the normal mode sample data set whether to operate the lower level cache as a victim to the upper level cache further comprises: