Searched refs:ThreadManagerTest (Results 1 – 1 of 1) sorted by relevance
/external/grpc-grpc/test/cpp/thread_manager/ |
D | thread_manager_test.cc | 47 class ThreadManagerTest final : public grpc::ThreadManager { class 49 ThreadManagerTest(const char* name, grpc_resource_quota* rq, in ThreadManagerTest() function in grpc::ThreadManagerTest 76 void ThreadManagerTest::SleepForMs(int duration_ms) { in SleepForMs() 83 grpc::ThreadManager::WorkStatus ThreadManagerTest::PollForWork(void** tag, in PollForWork() 105 void ThreadManagerTest::DoWork(void* tag, bool ok, bool resources) { in DoWork() 110 int ThreadManagerTest::GetNumWorkFound() { in GetNumWorkFound() 114 int ThreadManagerTest::GetNumDoWork() { in GetNumDoWork() 127 grpc::ThreadManagerTest test_thread_mgr("TestThreadManager", rq, settings); in TestPollAndWork() 156 grpc::ThreadManagerTest test_thread_mgr_1("TestThreadManager-1", rq, in TestThreadQuota() 158 grpc::ThreadManagerTest test_thread_mgr_2("TestThreadManager-2", rq, in TestThreadQuota()
|