Home
last modified time | relevance | path

Searched refs:g_times (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/thread_pool_benchmark_test/
H A Dthread_pool_benchmark_test.cpp28 int g_times = 0; variable
147 ++g_times; in TestFuncAddOneTime()
154 --g_times; in TestFuncSubOneTime()
193 BENCHMARK_LOGD("ThreadPoolTest test_05 g_times:%{public}d", g_times); in BENCHMARK_F()
196 g_times = 0; in BENCHMARK_F()
234 g_times = 0; in BENCHMARK_F()
243 ++g_times; in TestFuncAddWait()
252 --g_times; in TestFuncSubWait()
294 BENCHMARK_LOGD("ThreadPoolTest test_07 g_times:%{public}d", g_times); in BENCHMARK_F()
297 g_times = 0; in BENCHMARK_F()
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_thread_pool_test.cpp35 int g_times = 0; variable
53 g_times = 0; in SetUp()
60 g_times = 0; in TearDown()
103 EXPECT_EQ(g_times, 0);
110 ++g_times; in TestFuncAddOneTime()
116 --g_times; in TestFuncSubOneTime()
143 EXPECT_EQ(g_times, 1);
174 EXPECT_EQ(g_times, 1);
181 ++g_times; in TestFuncAddWait()
190 --g_times; in TestFuncSubWait()
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/thread_benchmark_test/
H A Dthread_benchmark_test.cpp54 static int g_times = 0; variable
148 g_times = 0; in BENCHMARK_F()
188 g_times = 0; in BENCHMARK_F()
252 g_times = 0; in BENCHMARK_F()
272 g_times = 0; in BENCHMARK_F()
312 g_times = 0; in BENCHMARK_F()
332 g_times = 0; in BENCHMARK_F()
353 g_times = 100; in BENCHMARK_F()
375 g_times = 0; in BENCHMARK_F()
425 g_times = 0; in BENCHMARK_F()
[all …]