Home
last modified time | relevance | path

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

/system/bt/common/benchmark/
Dthread_performance_benchmark.cc36 volatile static int g_counter = 0; variable
43 g_counter++; in pthread_callback_batch()
44 if (g_counter >= NUM_MESSAGES_TO_SEND) { in pthread_callback_batch()
60 g_counter++; in callback_batch()
61 if (g_counter >= NUM_MESSAGES_TO_SEND) { in callback_batch()
71 g_counter = 0; in SetUp()
137 g_counter = 0; in BENCHMARK_F()
141 fixed_queue_enqueue(bt_msg_queue_, (void*)&g_counter); in BENCHMARK_F()
184 g_counter = 0; in BENCHMARK_F()
188 fixed_queue_enqueue(bt_msg_queue_, (void*)&g_counter); in BENCHMARK_F()
[all …]
/system/bt/common/test/
Dthread_performance_test.cc38 volatile static int g_counter = 0; variable
45 g_counter++; in callback_batch()
46 if (g_counter >= NUM_MESSAGES_TO_SEND) { in callback_batch()
55 g_counter = 0; in SetUp()
119 g_counter = 0; in TEST_F()
126 fixed_queue_enqueue(bt_msg_queue_, (void*)&g_counter); in TEST_F()
164 g_counter = 0; in TEST_F()
171 fixed_queue_enqueue(bt_msg_queue_, (void*)&g_counter); in TEST_F()
209 g_counter = 0; in TEST_F()
217 fixed_queue_enqueue(bt_msg_queue_, (void*)&g_counter); in TEST_F()
[all …]