Home
last modified time | relevance | path

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

/lk-master/app/tests/
A Dthread_tests.c56 unsigned int iterations = 0; in semaphore_consumer() local
60 iterations = rand(); in semaphore_consumer()
61 iterations %= sem_thread_max_its; in semaphore_consumer()
63 iterations = sem_remaining_its; in semaphore_consumer()
65 sem_remaining_its -= iterations; in semaphore_consumer()
68 …semaphore consumer %p starting up, running for %u iterations\n", get_current_thread(), iterations); in semaphore_consumer()
69 for (unsigned int x = 0; x < iterations; x++) in semaphore_consumer()
115 const int iterations = 1000000; in mutex_thread() local
121 …utex tester thread %p starting up, will go for %d iterations\n", get_current_thread(), iterations); in mutex_thread()
123 for (i = 0; i < iterations; i++) { in mutex_thread()

Completed in 3 milliseconds