Home
last modified time | relevance | path

Searched refs:mMaxTotalSize (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NeuralNetworks/driver/cache/BlobCache/
DBlobCache.cpp66 mMaxTotalSize(maxTotalSize), in BlobCache()
93 if (mMaxTotalSize < keySize + valueSize) { in set()
96 keySize + valueSize, mMaxTotalSize); in set()
119 if (mMaxTotalSize < newTotalSize) { in set()
135 keySize + valueSize, mMaxTotalSize); in set()
148 if (mMaxTotalSize < newTotalSize) { in set()
164 keySize + valueSize, mMaxTotalSize); in set()
371 return mMaxTotalSize / 2; in findDownTo()
373 return mMaxTotalSize - (newEntrySize - oldEntrySize()); in findDownTo()
375 return std::min(mMaxTotalSize - (newEntrySize - oldEntrySize()), mMaxTotalSize / 2); in findDownTo()
[all …]
DBlobCache.h323 const size_t mMaxTotalSize; variable
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.cpp47 mMaxTotalSize(0), in NNCache()
65 mMaxTotalSize = maxTotalSize; in initialize()
141 mBlobCache.reset(new BlobCache(mMaxKeySize, mMaxValueSize, mMaxTotalSize, mPolicy)); in getBlobCacheLocked()
249 if (fileSize > mMaxTotalSize * 2) { in loadBlobCacheLocked()
DnnCache.h120 size_t mMaxTotalSize; variable