Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/libc-tests/tests/clocklock/
H A Dclock_lock_rwlock.c341 bool ret = true, elapse; in clock_test_rwlock_to_abs() local
345 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_rwlock_to_abs()
352 if (!elapse) { in clock_test_rwlock_to_abs()
360 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_rwlock_to_abs()
367 if (!elapse) { in clock_test_rwlock_to_abs()
376 elapse = clock_abs_after(CLOCK_HIGHRES, &to); in clock_test_rwlock_to_abs()
383 if (!elapse) { in clock_test_rwlock_to_abs()
392 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_rwlock_to_abs()
399 if (!elapse) { in clock_test_rwlock_to_abs()
407 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_rwlock_to_abs()
[all …]
H A Dclock_lock_sem.c232 bool ret = true, elapse; in clock_test_sem_to_abs() local
236 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_sem_to_abs()
243 if (!elapse) { in clock_test_sem_to_abs()
251 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_sem_to_abs()
258 if (!elapse) { in clock_test_sem_to_abs()
267 elapse = clock_abs_after(CLOCK_HIGHRES, &to); in clock_test_sem_to_abs()
274 if (!elapse) { in clock_test_sem_to_abs()
290 bool ret = true, elapse; in clock_test_sem_to_rel() local
296 elapse = clock_rel_after(CLOCK_REALTIME, &start, &clock_to_100ms); in clock_test_sem_to_rel()
303 if (!elapse) { in clock_test_sem_to_rel()
[all …]
H A Dclock_lock_mutex.c252 bool ret = true, elapse; in clock_test_mutex_to_abs() local
256 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_mutex_to_abs()
263 if (!elapse) { in clock_test_mutex_to_abs()
271 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_mutex_to_abs()
278 if (!elapse) { in clock_test_mutex_to_abs()
287 elapse = clock_abs_after(CLOCK_HIGHRES, &to); in clock_test_mutex_to_abs()
294 if (!elapse) { in clock_test_mutex_to_abs()
310 bool ret = true, elapse; in clock_test_mutex_to_rel() local
316 elapse = clock_rel_after(CLOCK_REALTIME, &start, &clock_to_100ms); in clock_test_mutex_to_rel()
323 if (!elapse) { in clock_test_mutex_to_rel()
[all …]
H A Dclock_lock_cond.c227 bool ret = true, elapse; in clock_test_cond_to_abs() local
232 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_cond_to_abs()
238 if (!elapse) { in clock_test_cond_to_abs()
247 elapse = clock_abs_after(CLOCK_REALTIME, &to); in clock_test_cond_to_abs()
254 if (!elapse) { in clock_test_cond_to_abs()
263 elapse = clock_abs_after(CLOCK_HIGHRES, &to); in clock_test_cond_to_abs()
270 if (!elapse) { in clock_test_cond_to_abs()
286 bool ret = true, elapse; in clock_test_cond_to_rel() local
294 elapse = clock_rel_after(CLOCK_REALTIME, &start, &clock_to_100ms); in clock_test_cond_to_rel()
301 if (!elapse) { in clock_test_cond_to_rel()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dstats.c50 } elapse; member
193 sp->u.elapse.start = gethrtime(); in stats_elapse_start()
204 sp->u.elapse.stop = gethrtime(); in stats_elapse_stop()
245 if (sp->u.elapse.start && sp->u.elapse.stop) { in stats_publish()
247 sp->u.elapse.stop - sp->u.elapse.start; in stats_publish()
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.c95 static unsigned int elapse;
97 #define TIMER_END elapse=hwtime()-g_start
976 TRACE4("READ %-3d %7d %d\n", id->fd, last_page, elapse); in sqliteOsRead()
1030 TRACE4("WRITE %-3d %7d %d\n", id->fd, last_page, elapse); in sqliteOsWrite()
H A Dvdbe.c4785 long long elapse = hwtime() - start; in sqliteVdbeExec() local
4786 pOp->cycles += elapse; in sqliteVdbeExec()
4789 fprintf(stdout, "%10lld ", elapse); in sqliteVdbeExec()
/illumos-gate/usr/src/cmd/spell/
H A Dlist7521 elapse
/illumos-gate/usr/src/cmd/look/
H A Dwords7523 elapse