17 #ifndef _STORAGE_ADVISER_H_ 18 #define _STORAGE_ADVISER_H_
A utility class designed to help decide whether to store cache data (for example FFT outputs) in memo...
static void notifyPlannedAllocation(AllocationArea area, int size)
Specify that we are planning to use a given amount of storage (in kilobytes), but haven't allocated i...
static long m_memoryPlanned
static long m_discPlanned
static Recommendation m_baseRecommendation
static void notifyDoneAllocation(AllocationArea area, int size)
Specify that we have now allocated, or abandoned the allocation of, the given amount (in kilobytes) o...
static Recommendation recommend(Criteria criteria, int minimumSize, int maximumSize)
Recommend where to store some data, given certain storage and recall criteria.
static void setFixedRecommendation(Recommendation recommendation)
Force all subsequent recommendations to use the (perhaps partial) specification given here.