Home
last modified time | relevance | path

Searched refs:available_tokens (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_throttle_test.cc50 EXPECT_EQ(0, throttle_.available_tokens()); in TEST_F()
52 EXPECT_EQ(100000, throttle_.available_tokens()); in TEST_F()
54 EXPECT_EQ(300000, throttle_.available_tokens()); in TEST_F()
58 EXPECT_EQ(0, throttle_.available_tokens()); in TEST_F()
61 EXPECT_EQ(99900, throttle_.available_tokens()); in TEST_F()
72 EXPECT_EQ(-25100, throttle_.available_tokens()); in TEST_F()
76 << "Available tokens: " << throttle_.available_tokens(); in TEST_F()
80 EXPECT_EQ(0, throttle_.available_tokens()); in TEST_F()
82 EXPECT_EQ(9000000, throttle_.available_tokens()); in TEST_F()
87 EXPECT_EQ(10000000, throttle_.available_tokens()); in TEST_F()
[all …]
Dgcs_throttle.h112 inline int64 available_tokens() LOCKS_EXCLUDED(mu_) { in available_tokens() function