MCPcopy Create free account
hub / github.com/apache/impala / TEST_F

Function TEST_F

be/src/kudu/util/mt-threadlocal-test.cc:233–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233TEST_F(ThreadLocalTest, TestConcurrentCounters) {
234 // Run this multiple times to ensure we don't leave remnants behind in the
235 // CounterRegistry.
236 CounterRegistry registry;
237 for (int i = 0; i < 3; i++) {
238 TestThreadLocalCounters(&registry, 8);
239 }
240}
241
242// Test class that stores a string in a static thread local member.
243// This class cannot be instantiated. The methods are all static.

Callers

nothing calls this directly

Calls 10

TestThreadLocalCountersFunction · 0.85
RunAndAssignFunction · 0.85
SubstituteFunction · 0.85
reserveMethod · 0.80
CountDownMethod · 0.80
EmplaceNewMethod · 0.80
getMethod · 0.65
WaitMethod · 0.45
joinMethod · 0.45
LookupMethod · 0.45

Tested by

no test coverage detected