MCPcopy Index your code

hub / github.com/facebook/CacheLib / functions

Functions5,467 in github.com/facebook/CacheLib

↓ 49 callersMethodgetClassId
cachelib/allocator/memory/Slab.h:318
↓ 48 callersMethodflushNvmCache
cachelib/allocator/CacheAllocator.h:4383
↓ 48 callersMethodgetSize
This is the size of the memory allocation requested by the user. The memory range [getMemory(), getMemory() + getSize()) is usable.
cachelib/allocator/tests/Cache.h:52
↓ 47 callersMethodallocate
cachelib/interface/components/RAMCacheComponent.cpp:236
↓ 47 callersMethodfound
cachelib/navy/block_cache/Index.h:82
↓ 46 callersMethodgetValidAllocSizes
cachelib/allocator/tests/TestBase.h:147
↓ 46 callersFunctionmakeDriver
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:88
↓ 46 callersMethodtrack
cachelib/navy/block_cache/LruPolicy.cpp:50
↓ 45 callersMethodset
Insert a key->value mapping into the pool. Returns true if the insertion was successful, false otherwise. This will not overwrite existing data, and s
cachelib/rust/src/lrucache.rs:941
↓ 44 callersFunctioncomputeStorageSize
@param capacity number of maximum entries for the hash table @return bytes required for the hashtable to fit
cachelib/datatype/Map.h:56
↓ 44 callersMethodindex
Returns the unique index.
cachelib/navy/block_cache/Types.h:40
↓ 44 callersFunctionmakeJobScheduler
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:52
↓ 43 callersMethodaddress
cachelib/navy/block_cache/Index.h:89
↓ 43 callersMethodgetPoolId
cachelib/allocator/memory/MemoryAllocator.cpp:141
↓ 43 callersMethodinsertOrReplace
cachelib/datatype/Map.h:165
↓ 43 callersMethodshutDown
cachelib/shm/ShmManager.cpp:191
↓ 42 callersMethodgetNumAllocs
cachelib/experimental/deprecated_objcache/tests/Common.h:91
↓ 42 callersMethodgetTotalObjectSize
Get the total size of all cached objects in bytes.
cachelib/object_cache/ObjectCache.h:431
↓ 42 callersFunctioninjectPauseWait
cachelib/common/inject_pause.cpp:152
↓ 42 callersMethodmapAddress
maps the segment into the address for the segment's current length. If the segment is invalid or deleted, returns false and does nothing. @param add
cachelib/shm/Shm.h:106
↓ 41 callersMethodgetAllocsPerSlab
returns the number of allocations that can be made out of a Slab.
cachelib/allocator/memory/AllocationClass.h:98
↓ 41 callersMethodid
Returns the region id.
cachelib/navy/block_cache/Region.h:210
↓ 40 callersMethodgetId
returns the poolId of this memory pool.
cachelib/allocator/memory/MemoryPool.h:79
↓ 40 callersMethodisNull
Return true if data is nullptr
cachelib/navy/common/Buffer.h:154
↓ 39 callersMethodfind
cachelib/cachebench/cache/Cache.h:1004
↓ 39 callersMethodgetNumActiveHandles
cachelib/allocator/CacheAllocator.h:6017
↓ 39 callersMethodprocessReq
cachelib/cachebench/workload/PieceWiseCache.cpp:465
↓ 39 callersMethodrbegin
cachelib/allocator/datastruct/DList.h:442
↓ 39 callersMethodstatus
Returns the current open status.
cachelib/navy/block_cache/Region.h:301
↓ 39 callersMethodtoString
cachelib/allocator/CacheItem.h:755
↓ 38 callersMethodcache
cachelib/adaptor/rocks_secondary_cache/tests/CachelibWrapperTest.cpp:140
↓ 38 callersMethodget
cachelib/allocator/CacheAllocator.h:255
↓ 38 callersMethodnumSlabsForClass
number of slabs in this class id
cachelib/allocator/CacheStats.h:213
↓ 37 callersMethodgetGlobalCacheStats
cachelib/allocator/tests/CacheBaseTest.cpp:53
↓ 37 callersMethodgetSlabHeader
cachelib/allocator/memory/SlabAllocator.cpp:488
↓ 37 callersMethodkey
@return key as StringPiece
cachelib/allocator/nvmcache/ReqContexts.h:48
↓ 37 callersMethodoffset
Returns the 64-bit offset.
cachelib/navy/block_cache/Types.h:77
↓ 37 callersMethodpushToNvmCacheFromRamForTesting
cachelib/allocator/nvmcache/tests/NvmTestBase.h:99
↓ 36 callersMethodisInMMContainer
cachelib/allocator/CacheItem.h:833
↓ 36 callersMethodunlock
cachelib/common/Mutex.h:231
↓ 35 callersMethodend
cachelib/navy/block_cache/Index.h:359
↓ 35 callersMethodfind
cachelib/interface/tests/InterfaceTest.cpp:143
↓ 35 callersMethodgetCreationTime
cachelib/allocator/CacheItem.h:739
↓ 35 callersMethodinsert
cachelib/interface/components/RAMCacheComponent.cpp:265
↓ 35 callersMethodinspectCache
cachelib/allocator/nvmcache/tests/NvmTestBase.h:123
↓ 35 callersMethodisInMMContainer
cachelib/allocator/tests/MMTypeTest.h:86
↓ 35 callersFunctionremovePath
throws error on any failure. */
cachelib/common/Utils.cpp:310
↓ 34 callersMethodadd
Adds a 64-bit offset to the existing offset and returns the new @AbsAddress. @param ofs the 64-bit offset to be added
cachelib/navy/block_cache/Types.h:82
↓ 34 callersMethodadd
cachelib/common/AtomicCounter.h:83
↓ 34 callersFunctiongenRandomStr
cachelib/allocator/nvmcache/tests/NvmCacheTests.cpp:32
↓ 34 callersMethodinsert
cachelib/navy/driver/Driver.cpp:113
↓ 34 callersMethodkey
cachelib/navy/bighash/Bucket.cpp:34
↓ 34 callersMethodlookup
cachelib/navy/bighash/BigHash.cpp:397
↓ 34 callersMethodstart
cachelib/common/PeriodicWorker.cpp:73
↓ 34 callersMethodstartSlabRelease
cachelib/allocator/memory/MemoryPool.cpp:490
↓ 33 callersFunctiongetDefaultConfig
cachelib/allocator/memory/tests/SlabAllocatorTest.cpp:40
↓ 33 callersMethodgetKey
cachelib/allocator/tests/AccessTypeTest.h:49
↓ 33 callersFunctiongetRandomAllocSizes
get n random allocation sizes which are at least minSize bytes long.
cachelib/allocator/memory/tests/TestBase.cpp:142
↓ 33 callersMethodisMemoryInSlab
cachelib/allocator/memory/SlabAllocator.cpp:504
↓ 33 callersMethodisNvmClean
cachelib/allocator/CacheItem.h:883
↓ 33 callersMethodremove
cachelib/navy/block_cache/BlockCache.cpp:608
↓ 32 callersMethodaddPool
cachelib/allocator/CacheAllocator.h:4949
↓ 32 callersMethodgetAllocSize
fetch the allocation size for the pool id and class id. @param pid the pool id @param cid the allocation class id @return the allocation size corr
cachelib/allocator/memory/MemoryAllocator.h:514
↓ 32 callersMethodgetPoolId
cachelib/allocator/CacheAllocator.h:5094
↓ 32 callersMethodgetRequestRange
* Get the actual bytes indexes that we need to return for the request. * Returns folly::none if no or invalid range provided. */
cachelib/common/piecewise/RequestRange.h:45
↓ 32 callersMethodisAccessible
cachelib/allocator/tests/AccessTypeTest.h:56
↓ 32 callersMethodisChainedItem
cachelib/allocator/CacheItem.h:949
↓ 32 callersMethodlock
cachelib/common/Mutex.h:229
↓ 31 callersMethodestimate
cachelib/common/PercentileStats.cpp:26
↓ 31 callersMethodfetch
cachelib/allocator/nvmcache/tests/NvmTestBase.cpp:60
↓ 31 callersMethodgetCacheMemoryStats
cachelib/allocator/CacheAllocator.h:6136
↓ 31 callersMethodlookup
cachelib/navy/driver/Driver.cpp:219
↓ 31 callersMethodremoveFromRamForTesting
cachelib/allocator/nvmcache/tests/NvmTestBase.h:91
↓ 31 callersMethodvalue
cachelib/navy/block_cache/BlockCache.cpp:67
↓ 30 callersMethodaddSlab
cachelib/allocator/memory/AllocationClass.cpp:172
↓ 30 callersFunctiongetCurrentTimeMs
For nano second granularity, std::chrono::steady_clock seems to do a fine job.
cachelib/common/Time.h:39
↓ 30 callersMethodgetId
cachelib/allocator/tests/MMTypeTest.h:53
↓ 30 callersMethodgetNumUsableSlabs
cachelib/allocator/memory/SlabAllocator.cpp:340
↓ 30 callersMethodremove
cachelib/datatype/Map.h:213
↓ 30 callersMethodsizeHint
cachelib/navy/block_cache/Index.h:94
↓ 30 callersMethodtrackValue
track latency by taking the value of duration directly.
cachelib/common/PercentileStats.h:73
↓ 29 callersMethodbeginSet
cachelib/cachebench/consistency/ValueTracker.cpp:49
↓ 29 callersMethodcouldExist
cachelib/common/BloomFilter.cpp:95
↓ 29 callersMethodgetCurrentEntriesLimit
Get the current L1 entries number limit.
cachelib/object_cache/ObjectCache.h:436
↓ 29 callersMethodnumEvictions
cachelib/allocator/CacheStats.cpp:364
↓ 29 callersMethodset
cachelib/common/BloomFilter.cpp:83
↓ 29 callersMethodtotalFragmentation
cachelib/allocator/CacheStats.cpp:404
↓ 28 callersMethoddataEnd
Return end of the data
cachelib/navy/common/Buffer.h:66
↓ 28 callersMethodgetHead
cachelib/allocator/datastruct/DList.h:176
↓ 28 callersMethodisReady
Return true iff item handle is ready to use. Empty handles are considered ready with it_ == nullptr.
cachelib/allocator/Handle.h:214
↓ 28 callersFunctionmakeDriverConfig
cachelib/navy/driver/tests/DriverTest.cpp:185
↓ 28 callersMethodreset
Invalidates this iterator
cachelib/allocator/datastruct/DList.h:221
↓ 27 callersMethodgetCounters
cachelib/navy/block_cache/LruPolicy.cpp:181
↓ 27 callersMethodgetHandleCountForThread
cachelib/allocator/CacheAllocator.h:6022
↓ 27 callersMethodgetName
cachelib/allocator/CCacheAllocator.cpp:48
↓ 27 callersFunctionpathExists
cachelib/common/Utils.cpp:252
↓ 27 callersMethodsizeInBytes
cachelib/datatype/Map.h:706
↓ 27 callersMethodtotalHits
cachelib/navy/block_cache/Index.h:104
↓ 26 callersMethodget
cachelib/common/Utils.h:197
↓ 26 callersMethodgetEvictionIterator
cachelib/allocator/MM2Q.h:906
← previousnext →101–200 of 5,467, ranked by callers