Home
last modified time | relevance | path

Searched refs:cacheLimit (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_result_set.cpp112 uint32_t cacheLimit = option_.cacheMaxSize * (WINDOW_SIZE_MB_UNIT / sizeof(int64_t)); in OpenForCacheEntryIdMode() local
114 … errCode = handle_->OpenResultSetForCacheRowIdMode(keyPrefix_, cachedRowIds_, cacheLimit, count_); in OpenForCacheEntryIdMode()
116 … errCode = handle_->OpenResultSetForCacheRowIdMode(queryObj_, cachedRowIds_, cacheLimit, count_); in OpenForCacheEntryIdMode()
275 uint32_t cacheLimit = option_.cacheMaxSize * (WINDOW_SIZE_MB_UNIT / sizeof(int64_t)); in MoveToForCacheEntryIdMode() local
278 int newCacheEndPos = newCacheStartPos + cacheLimit; in MoveToForCacheEntryIdMode()
285 …newCacheStartPos -= (cacheLimit - 1); // Attention, subtract by 1 to ensure position still in range in MoveToForCacheEntryIdMode()
292 …errCode = handle_->ReloadResultSetForCacheRowIdMode(keyPrefix_, cachedRowIds_, cacheLimit, newCach… in MoveToForCacheEntryIdMode()
294 …errCode = handle_->ReloadResultSetForCacheRowIdMode(queryObj_, cachedRowIds_, cacheLimit, newCache… in MoveToForCacheEntryIdMode()
H A Dsqlite_single_ver_storage_executor.h91 uint32_t cacheLimit, int &count);
94 uint32_t cacheLimit, int &count);
101 uint32_t cacheLimit, uint32_t cacheStartPos);
104 uint32_t cacheLimit, uint32_t cacheStartPos);
266 …int OpenResultSetForCacheRowIdModeCommon(std::vector<int64_t> &rowIdCache, uint32_t cacheLimit, in…
268 int ResultSetLoadRowIdCache(std::vector<int64_t> &rowIdCache, uint32_t cacheLimit,
H A Dsqlite_single_ver_storage_executor.cpp792 std::vector<int64_t> &rowIdCache, uint32_t cacheLimit, int &count) in OpenResultSetForCacheRowIdMode() argument
808 errCode = OpenResultSetForCacheRowIdModeCommon(rowIdCache, cacheLimit, count); in OpenResultSetForCacheRowIdMode()
816 std::vector<int64_t> &rowIdCache, uint32_t cacheLimit, int &count) in OpenResultSetForCacheRowIdMode() argument
840 errCode = OpenResultSetForCacheRowIdModeCommon(rowIdCache, cacheLimit, count); in OpenResultSetForCacheRowIdMode()
897 std::vector<int64_t> &rowIdCache, uint32_t cacheLimit, uint32_t cacheStartPos) in ReloadResultSetForCacheRowIdMode() argument
904 errCode = ResultSetLoadRowIdCache(rowIdCache, cacheLimit, cacheStartPos, count); in ReloadResultSetForCacheRowIdMode()
913 std::vector<int64_t> &rowIdCache, uint32_t cacheLimit, uint32_t cacheStartPos) in ReloadResultSetForCacheRowIdMode() argument
920 errCode = ResultSetLoadRowIdCache(rowIdCache, cacheLimit, cacheStartPos, count); in ReloadResultSetForCacheRowIdMode()
1991 uint32_t cacheLimit, int &count) in OpenResultSetForCacheRowIdModeCommon() argument
2004 errCode = ResultSetLoadRowIdCache(rowIdCache, cacheLimit, 0, count); in OpenResultSetForCacheRowIdModeCommon()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/memory/
H A Drs_memory_manager.cpp378 size_t cacheLimit = Drawing::SkiaGraphics::GetResourceCacheTotalByteLimit(); in DumpDrawingCpuMemory() local
380 log.AppendFormat("\ncpu cache limit = %zu ( fontcache = %zu ):\n", cacheLimit, fontCacheLimit); in DumpDrawingCpuMemory()
451 size_t cacheLimit = 0; in DumpDrawingGpuMemory() local
453 gpuContext->GetResourceCacheLimits(nullptr, &cacheLimit); in DumpDrawingGpuMemory()
455 log.AppendFormat("\ngpu limit = %zu ( used = %zu ):\n", cacheLimit, cacheUsed); in DumpDrawingGpuMemory()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_thread.cpp660 size_t cacheLimit = 0; in TrimMemGpuLimitType() local
662 gpuContext->GetResourceCacheLimits(&maxResources, &cacheLimit); in TrimMemGpuLimitType()
666 size_t maxResourcesBytes = cacheLimit; // max 4G in TrimMemGpuLimitType()
676 dumpString.append("setgpulimit: " + FormatNumber(cacheLimit) in TrimMemGpuLimitType()