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

Method num_tokens

src/common/PrioritizedQueue.h:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 return max_tokens;
75 }
76 unsigned num_tokens() const {
77 return tokens;
78 }
79 void put_tokens(unsigned t) {
80 tokens += t;
81 if (tokens > max_tokens) {

Callers 1

dequeueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected