Home
last modified time | relevance | path

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

/external/cronet/tot/third_party/apache-portable-runtime/src/test/
Dtestlockperf.c43 static long max_counter = DEFAULT_MAX_COUNTER; variable
62 for (i = 0; i < max_counter; i++) { in thread_mutex_func()
74 for (i = 0; i < max_counter; i++) { in thread_rwlock_func()
124 if (mutex_counter != max_counter * num_threads) in test_thread_mutex()
172 if (mutex_counter != max_counter * num_threads) in test_thread_mutex_nested()
220 if (mutex_counter != max_counter * num_threads) in test_thread_rwlock()
250 max_counter = atol(optarg); in main()
/external/cronet/stable/third_party/apache-portable-runtime/src/test/
Dtestlockperf.c43 static long max_counter = DEFAULT_MAX_COUNTER; variable
62 for (i = 0; i < max_counter; i++) { in thread_mutex_func()
74 for (i = 0; i < max_counter; i++) { in thread_rwlock_func()
124 if (mutex_counter != max_counter * num_threads) in test_thread_mutex()
172 if (mutex_counter != max_counter * num_threads) in test_thread_mutex_nested()
220 if (mutex_counter != max_counter * num_threads) in test_thread_rwlock()
250 max_counter = atol(optarg); in main()
/external/tensorflow/tensorflow/core/distributed_runtime/preemption/
Dpreemption_sync_manager.cc251 int64_t max_counter = kPreemptionSyncUnsetCounter; in ComputeSyncCallCounter() local
260 max_counter = std::max(max_counter, call_counter); in ComputeSyncCallCounter()
263 if (max_counter == kPreemptionSyncUnsetCounter) { in ComputeSyncCallCounter()
269 preemption_sync_counter_ = max_counter + 1; in ComputeSyncCallCounter()