MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / RecordResponse

Method RecordResponse

tensorflow/core/platform/cloud/gcs_throttle.cc:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void GcsThrottle::RecordResponse(size_t num_bytes) {
38 mutex_lock l(mu_);
39 UpdateState();
40 available_tokens_ -= request_bytes_to_tokens(num_bytes);
41}
42
43void GcsThrottle::SetConfig(GcsThrottleConfig config) {
44 mutex_lock l(mu_);

Callers 4

LoadBufferFromGCSMethod · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
SendMethod · 0.45

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.36
TESTFunction · 0.36