MCPcopy Create free account
hub / github.com/ceph/ceph / hit

Method hit

src/common/DecayCounter.h:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 */
89
90 double hit(double v = 1.0) {
91 decay(v);
92 return val;
93 }
94 void adjust(double v = 1.0) {
95 decay(v);
96 }

Callers 15

trimMethod · 0.80
hit_export_targetMethod · 0.80
hit_inodeMethod · 0.80
hit_dirMethod · 0.80
touch_readdir_capMethod · 0.80
recall_client_stateMethod · 0.80
touch_capMethod · 0.80
touch_cap_bottomMethod · 0.80
touch_leaseMethod · 0.80
notify_cap_releaseMethod · 0.80
notify_recall_sentMethod · 0.80
hit_sessionMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64