Patent ID: 11914521
Assignee: APPLE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A method comprising:
receiving, from a plurality of agents, requests for access to a cache memory, wherein a given request from an agent specifies an identification value for that agent;
storing, in a cache controller, current allocations of the cache memory to individual ones of the plurality of agents;
tracking requests for access to the cache memory, using the cache controller based on identification values specified in the requests, wherein the tracking requests for access includes:
counting, for a first time interval and using ones of a plurality of counters, cache access requests for ones of the plurality of agents associated with a first subset of a plurality of data set identifiers; and
counting, for a second time interval using ones of the plurality of counters, count cache access requests for ones of the plurality of agents associated with a second subset of the plurality of data set identifiers;

determining weighting values, by the cache controller, based on accesses to a system memory, by the individual ones of the plurality of agents; and
determining whether to update allocations of the cache memory to the individual ones of the plurality of agents based on the tracked requests and the weighting values.