Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ stats
Method
stats
bolt/common/caching/SsdCache.cpp:175–181 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
173
}
174
175
SsdCacheStats SsdCache::stats() const {
176
SsdCacheStats stats;
177
for (auto& file : files_) {
178
file->updateStats(stats);
179
}
180
return stats;
181
}
182
183
void SsdCache::clear() {
184
for (auto& file : files_) {
Callers
3
refreshStats
Method · 0.45
TEST_F
Function · 0.45
recordInterOpStats
Function · 0.45
Calls
1
updateStats
Method · 0.45
Tested by
1
TEST_F
Function · 0.36