MCPcopy Create free account

hub / github.com/facebook/CacheLib / functions

Functions5,467 in github.com/facebook/CacheLib

↓ 12 callersMethodconvertToShmCache
cachelib/allocator/nvmcache/tests/NvmTestBase.cpp:77
↓ 12 callersMethodcreateCountVisitor
cachelib/common/Utils.h:158
↓ 12 callersFunctionend
cachelib/datatype/Buffer.h:144
↓ 12 callersMethodenqueueWithKey
Ignore key because mock scheduler models one thread job scheduler
cachelib/navy/testing/MockJobScheduler.cpp:29
↓ 12 callersMethodgetAllocInfo
get the allocation information for the specified memory address. @throw std::invalid_argument if the memory does not belong to this cache allocator
cachelib/allocator/CacheAllocator.h:1169
↓ 12 callersMethodgetHandle
cachelib/allocator/tests/ItemHandleTest.cpp:65
↓ 12 callersFunctiongetNumPages
cachelib/common/Utils.cpp:225
↓ 12 callersMethodgetPoolIds
cachelib/allocator/memory/MemoryPoolManager.cpp:192
↓ 12 callersFunctiongetRSSBytes
cachelib/common/Utils.cpp:380
↓ 12 callersMethodgetRegionSize
cachelib/allocator/nvmcache/NavyConfig.h:615
↓ 12 callersMethodinsert
cachelib/object_cache/ObjectCache.h:1044
↓ 12 callersMethodisReady
Checks whether status of the open is Ready.
cachelib/navy/block_cache/Region.h:295
↓ 12 callersMethodnotifyAll
Expect to be protected by the same lock
cachelib/common/ConditionVariable.h:90
↓ 12 callersMethodpeekIndexEntry
cachelib/navy/block_cache/CombinedEntryBlock.cpp:125
↓ 12 callersMethodphysicalOffset
Convert relative address to phsyical offset on the device
cachelib/navy/block_cache/RegionManager.h:280
↓ 12 callersMethodrecover
Restore entries from shared memory. On failure, starts empty.
cachelib/allocator/nvmcache/AccessTimeMap.h:198
↓ 12 callersMethodremove
cachelib/cachebench/cache/Cache.h:885
↓ 12 callersFunctionsetUpdateTime
set and get the time when the node was updated in the lru.
cachelib/allocator/datastruct/DList.h:67
↓ 12 callersMethodunCompress
cachelib/allocator/memory/CompressedPtr.h:366
↓ 12 callersMethodvalid
Checks whether the index is valid.
cachelib/navy/block_cache/Types.h:37
↓ 11 callersMethodaddIndexEntryToStream
cachelib/navy/block_cache/CombinedEntryManager.cpp:98
↓ 11 callersMethodcomputeChainLength
iterate and compute the length of the chain. This is O(N) computation. @return the length of the chain
cachelib/allocator/ChainedAllocs.h:40
↓ 11 callersMethodcopy
Copy copies size_ number of bytes from dataOffsetStart_ to a new buffer and returns the new buffer @param alignment alignment of the new buffer
cachelib/navy/common/Buffer.h:168
↓ 11 callersMethoddecrement
cachelib/common/Cohort.h:67
↓ 11 callersMethodexpectedCommands
cachelib/cachebench/util/tests/NandWritesTest.cpp:58
↓ 11 callersMethodexportStats
cachelib/allocator/Cache.cpp:571
↓ 11 callersFunctiongenerateAllocSizes
helper function to generate the allocation sizes for addPool()
cachelib/allocator/Util.h:171
↓ 11 callersMethodgetBucketsPower
cachelib/allocator/ChainedHashTable.h:302
↓ 11 callersMethodgetCacheSize
cachelib/allocator/CacheAllocatorConfig.h:479
↓ 11 callersMethodgetData
cachelib/datatype/Buffer.cpp:64
↓ 11 callersFunctiongetEndOffset
cachelib/navy/bighash/tests/BucketStorageTest.cpp:25
↓ 11 callersMethodgetKeyValuePairs
cachelib/persistence/tests/PersistenceCache.h:201
↓ 11 callersMethodgetLocksPower
cachelib/allocator/ChainedHashTable.h:304
↓ 11 callersMethodgetNumClassId
return the number of allocation ClassIds for this pool based on the allocation sizes that it was configured with. All allocations from this pool will
cachelib/allocator/memory/MemoryPool.h:289
↓ 11 callersFunctiongetNumResidentPages
cachelib/common/Utils.cpp:197
↓ 11 callersFunctiongetNvmTestConfig
cachelib/allocator/tests/NvmTestUtils.h:28
↓ 11 callersMethodgetRefCount
cachelib/allocator/tests/AccessTypeTest.h:57
↓ 11 callersMethodgetTotalCombinedEntryBlocks
cachelib/navy/block_cache/CombinedEntryManager.h:101
↓ 11 callersFunctionget_or_create_volatile_pool
Obtain a new volatile pool from the cache. Volatile pools cannot be created from a persistent cache, and are therefore safe for all objects.
cachelib/rust/src/lrucache.rs:523
↓ 11 callersMethodinsert
cachelib/allocator/CacheAllocator.h:3769
↓ 11 callersMethodinsert
cachelib/benchmarks/SpeedUpExistenceCheckBenchmark.cpp:135
↓ 11 callersMethodinsertIfNotExists
cachelib/navy/block_cache/FixedSizeIndex.cpp:139
↓ 11 callersMethodisTopCohort
cachelib/common/Cohort.h:136
↓ 11 callersMethodkey
cachelib/compact_cache/CCacheFixedLruBucket.h:100
↓ 11 callersMethodmarkSafeShutDown
cachelib/allocator/NvmCacheState.cpp:158
↓ 11 callersMethodpersist
cachelib/allocator/nvmcache/AccessTimeMap.h:142
↓ 11 callersMethodremainingBytes
cachelib/datatype/Buffer.h:705
↓ 11 callersMethodsaveState
cachelib/allocator/tests/MMTypeTest.h:109
↓ 11 callersMethodsetConfig
cachelib/allocator/MM2Q.h:943
↓ 11 callersMethodsetName
cachelib/navy/testing/SeqPoints.cpp:69
↓ 11 callersMethodsetPriority
Assigns this region a priority. The meaning of priority is dependent on the eviction policy we choose.
cachelib/navy/block_cache/Region.h:112
↓ 11 callersMethodsize
cachelib/allocator/datastruct/MultiDList.h:79
↓ 11 callersMethodslabIdx
returns the index of the slab from the start of the slab memory
cachelib/allocator/memory/SlabAllocator.h:310
↓ 11 callersMethodsplice
cachelib/allocator/datastruct/SList.h:290
↓ 10 callersMethodInsert
cachelib/adaptor/rocks_secondary_cache/CachelibWrapper.cpp:144
↓ 10 callersMethodValue
cachelib/adaptor/rocks_secondary_cache/CachelibWrapper.cpp:104
↓ 10 callersMethodaccept
The method that the outside class calls to get the admission decision. It captures the common logics (e.g statistics) then delicates the detailed impl
cachelib/allocator/NvmAdmissionPolicy.h:45
↓ 10 callersMethodaddChainedItem
cachelib/cachebench/cache/Cache.h:920
↓ 10 callersMethodaddValue
cachelib/allocator/MemoryMonitor.cpp:323
↓ 10 callersMethodclone
cachelib/datatype/Buffer.h:585
↓ 10 callersMethodevictionAgeForClass
mm container eviction age for the class
cachelib/allocator/CacheStats.h:223
↓ 10 callersMethodget
cachelib/common/Mutex.h:253
↓ 10 callersFunctiongetCurrentTimeNs
cachelib/common/Time.h:44
↓ 10 callersFunctiongetFileSize
cachelib/allocator/nvmcache/tests/NavySetupTest.cpp:46
↓ 10 callersMethodgetMemorySize
cachelib/interface/components/RAMCacheComponent.cpp:104
↓ 10 callersMethodgetPoolId
cachelib/compact_cache/allocators/TestAllocator.h:82
↓ 10 callersMethodgetPoolsOverLimit
cachelib/allocator/memory/MemoryPoolManager.cpp:239
↓ 10 callersMethodgetQueueSize
Returns how many jobs are currently enqueued in the scheduler
cachelib/navy/testing/MockJobScheduler.h:70
↓ 10 callersFunctiongetRandomPow2AllocSizes
cachelib/allocator/memory/tests/TestBase.cpp:124
↓ 10 callersMethodgetline
cachelib/cachebench/workload/tests/KVReplayGeneratorTest.cpp:74
↓ 10 callersMethodisPresent
checks if there is a key present and returns true if so.
cachelib/allocator/nvmcache/TombStones.h:51
↓ 10 callersMethoditemHistory
cachelib/navy/block_cache/Index.h:109
↓ 10 callersMethodmarkMoving
cachelib/allocator/CacheItem.h:858
↓ 10 callersMethodrecordAndPopulateAccessFeatures
1. The access count of the accessed key in the current bucket is incremented. 2. Collect the most recent config_.numBuckets access counts and return i
cachelib/common/AccessTracker.h:88
↓ 10 callersMethodremove
cachelib/interface/components/RAMCacheComponent.cpp:395
↓ 10 callersMethodremoveIfMatch
cachelib/navy/block_cache/FixedSizeIndex.cpp:199
↓ 10 callersMethodrunFirstIf
cachelib/navy/testing/MockJobScheduler.cpp:53
↓ 10 callersMethodsetHandle
cachelib/allocator/tests/ItemHandleTest.cpp:69
↓ 10 callersMethodshouldDropNvmCache
cachelib/allocator/NvmCacheState.cpp:143
↓ 10 callersMethodsize
cachelib/allocator/MMWTinyLFU.h:606
↓ 10 callersMethodval
cachelib/compact_cache/CCacheFixedLruBucket.h:101
↓ 10 callersMethodviewAsChainedAllocs
view a read-only parent item as a chain of allocations if it has chained alloc. The returned chained-alloc is good to iterate upon, but will block any
cachelib/allocator/CacheAllocator.h:758
↓ 10 callersMethodwastedBytes
cachelib/datatype/Buffer.h:714
↓ 9 callersMethodBuf
cachelib/adaptor/rocks_secondary_cache/tests/CachelibWrapperTest.cpp:52
↓ 9 callersFunctionbindThis
cachelib/navy/common/CompilerUtils.h:48
↓ 9 callersMethodcompact
cachelib/datatype/Map.h:720
↓ 9 callersMethodconvertToIOBuf
Convert a Read Handle to an IOBuf. The returned IOBuf gives a read-only view to the user. The item's ownership is retained by the IOBuf until its dest
cachelib/allocator/CacheAllocator.h:824
↓ 9 callersFunctioncreateCache
cachelib/datatype/tests/RangeMapTest.cpp:36
↓ 9 callersFunctioncreate_cache
(fb: FacebookInit)
cachelib/rust/src/lrucache.rs:1281
↓ 9 callersMethoddumpEvictionIterator
cachelib/allocator/CacheAllocator.h:4760
↓ 9 callersMethodend
cachelib/object_cache/ObjectCache.h:406
↓ 9 callersMethodexecuteIfValid
cachelib/allocator/nvmcache/InFlightPuts.h:158
↓ 9 callersMethodfindImpl
cachelib/datatype/Map.h:586
↓ 9 callersMethodget
cachelib/allocator/TypedHandle.h:74
↓ 9 callersFunctiongetBytesWritten
Get the "write count" for a drive using `nvme`. Note that different vendors use different units for this value, hence the "factor" argument; see the f
cachelib/cachebench/util/NandWrites.cpp:140
↓ 9 callersMethodgetCacheDir
cachelib/allocator/tests/NvmCacheStateTest.cpp:47
↓ 9 callersMethodgetCallable
Return a callable object that can be used in a compact cache */
cachelib/compact_cache/tests/CCacheTests.h:79
↓ 9 callersMethodgetConfiguredSize
cachelib/allocator/CCacheAllocator.cpp:44
↓ 9 callersMethodgetConfiguredTTL
cachelib/allocator/CacheItem.h:744
↓ 9 callersMethodgetDoneCount
Returns how many jobs have completed so far
cachelib/navy/testing/MockJobScheduler.h:76
← previousnext →401–500 of 5,467, ranked by callers