Home
last modified time | relevance | path

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

/commonlibrary/c_utils/base/test/benchmarktest/thread_pool_benchmark_test/
H A Dthread_pool_benchmark_test.cpp28 int g_times = 0; member
137 // add no task, g_times has no change in BENCHMARK_F()
138 AssertEqual(g_times, 0, "g_times did not equal 0 as expected.", state); in BENCHMARK_F()
147 ++g_times; in TestFuncAddOneTime()
148 BENCHMARK_LOGD("ThreadPoolTest TestFuncAddOneTime g_times:%{public}d", g_times); in TestFuncAddOneTime()
154 --g_times; in TestFuncSubOneTime()
155 BENCHMARK_LOGD("ThreadPoolTest TestFuncSubOneTime g_times:%{public}d", g_times); in TestFuncSubOneTime()
[all...]
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_thread_pool_test.cpp35 int g_times = 0; member
53 g_times = 0; in SetUp()
60 g_times = 0; in TearDown()
102 // add no task, g_times has no change in HWTEST_F()
103 EXPECT_EQ(g_times, 0); in HWTEST_F()
110 ++g_times; in TestFuncAddOneTime()
116 --g_times; in TestFuncSubOneTime()
143 EXPECT_EQ(g_times, 1); in HWTEST_F()
174 EXPECT_EQ(g_times, 1); in HWTEST_F()
181 ++g_times; in TestFuncAddWait()
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/thread_benchmark_test/
H A Dthread_benchmark_test.cpp54 static int g_times = 0; member
83 if (g_times <= TRY_TIMES) { in TestRun03()
148 g_times = 0; in BENCHMARK_F()
169 AssertEqual(g_times, INITIAL_TIMES, "g_times did not equal INITIAL_TIMES as expected.", state); in BENCHMARK_F()
188 g_times = 0; in BENCHMARK_F()
208 AssertEqual(g_times, INITIAL_TIMES, "g_times did not equal INITIAL_TIMES as expected.", state); in BENCHMARK_F()
234 AssertEqual(g_times, INITIAL_TIMES, "g_times di in ThreadTestProcedure()
[all...]

Completed in 3 milliseconds