Lines Matching refs:cur
89 timing_t start, stop, cur; in test_mutex() local
101 TIMING_DIFF (cur, start, stop); in test_mutex()
103 return cur; in test_mutex()
109 timing_t start, stop, cur; in test_mutex_trylock() local
121 TIMING_DIFF (cur, start, stop); in test_mutex_trylock()
124 return cur; in test_mutex_trylock()
130 timing_t start, stop, cur; in test_rwlock_read() local
142 TIMING_DIFF (cur, start, stop); in test_rwlock_read()
144 return cur; in test_rwlock_read()
150 timing_t start, stop, cur; in test_rwlock_tryread() local
162 TIMING_DIFF (cur, start, stop); in test_rwlock_tryread()
165 return cur; in test_rwlock_tryread()
171 timing_t start, stop, cur; in test_rwlock_write() local
183 TIMING_DIFF (cur, start, stop); in test_rwlock_write()
185 return cur; in test_rwlock_write()
191 timing_t start, stop, cur; in test_rwlock_trywrite() local
203 TIMING_DIFF (cur, start, stop); in test_rwlock_trywrite()
206 return cur; in test_rwlock_trywrite()
212 timing_t start, stop, cur; in test_spin_lock() local
224 TIMING_DIFF (cur, start, stop); in test_spin_lock()
226 return cur; in test_spin_lock()
232 timing_t start, stop, cur; in test_spin_trylock() local
244 TIMING_DIFF (cur, start, stop); in test_spin_trylock()
247 return cur; in test_spin_trylock()
253 timing_t start, stop, cur; in test_sem_wait() local
265 TIMING_DIFF (cur, start, stop); in test_sem_wait()
267 return cur; in test_sem_wait()
273 timing_t start, stop, cur; in test_sem_trywait() local
284 TIMING_DIFF (cur, start, stop); in test_sem_trywait()
286 return cur; in test_sem_trywait()
306 timing_t start, stop, cur; in test_condvar() local
323 TIMING_DIFF (cur, start, stop); in test_condvar()
329 return cur; in test_condvar()
375 timing_t start, stop, cur; in test_consumer_producer() local
407 TIMING_DIFF (cur, start, stop); in test_consumer_producer()
411 return cur; in test_consumer_producer()
421 timing_t cur; in do_bench_2() local
434 cur = func(iters, filler); in do_bench_2()
459 curs[0] = cur; in do_bench_2()
495 json_attr_double (js, "duration", (double) cur); in do_bench_2()