MCPcopy Create free account
hub / github.com/bytedance/bolt / incrementPrefetchPages

Method incrementPrefetchPages

bolt/common/caching/AsyncDataCache.h:776–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774 }
775
776 memory::MachinePageCount incrementPrefetchPages(int64_t pages) {
777 // The counter is unsigned and the increment is signed.
778 return prefetchPages_.fetch_add(pages) + pages;
779 }
780
781 SsdCache* ssdCache() const {
782 return ssdCache_.get();

Callers 3

shouldPreloadMethod · 0.80
setPrefetchMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64