MCPcopy Create free account
hub / github.com/facebook/CacheLib / insertCount

Method insertCount

cachelib/common/Utils.h:137–137  ·  view source on GitHub ↗

Insert a count stat

Source from the content-addressed store, hash-verified

135
136 // Insert a count stat
137 void insertCount(const std::string& key, double val) { countMap[key] = val; }
138
139 // Insert a rate stat
140 void insertRate(const std::string& key, double val) { rateMap[key] = val; }

Callers 2

getStatsMapMethod · 0.80
getStatsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected