| /src/sys/arch/evbppc/stand/wii/ |
| timer.c | 46 int64_t elapsed; local 51 elapsed = val - oval; 53 elapsed = (UINT32_MAX - oval) + val + 1; 55 ticks -= elapsed;
|
| /src/external/ibm-public/postfix/dist/src/postscreen/ |
| postscreen_misc.c | 150 DELTA_TIME elapsed; local 157 * Log the current test phase, and the elapsed time after the start of that 162 psc_format_delta_time(psc_temp, state->start_time, &elapsed),
|
| postscreen_early.c | 112 DELTA_TIME elapsed; local 249 psc_format_delta_time(psc_temp, state->start_time, &elapsed), 286 if (elapsed.dt_sec >= PSC_EFF_GREET_WAIT 292 PSC_EFF_GREET_WAIT - elapsed.dt_sec);
|
| /src/external/bsd/libevent/dist/sample/ |
| time-test.c | 48 double elapsed; local 52 elapsed = difference.tv_sec + 55 printf("timeout_cb called at %d: %.3f seconds elapsed.\n", 56 (int)newtime.tv_sec, elapsed);
|
| /src/sys/arch/arm/imx/ |
| imx23_platform.c | 126 uint32_t elapsed; local 138 elapsed = now - start; 140 elapsed = (UINT32_MAX - start) + 1 + now; 142 total += elapsed - last; 143 last = elapsed;
|
| /src/external/bsd/dhcpcd/dist/src/ |
| common.c | 222 uint32_t elapsed; local 235 elapsed = (uint32_t)eloop_timespec_diff(now, acquired, NULL); 236 if (elapsed > lifetime) 239 return lifetime - elapsed;
|
| /src/usr.bin/ftp/ |
| progressbar.c | 132 double elapsed; local 247 elapsed = td.tv_sec + (td.tv_usec / 1000000.0); 252 if (elapsed > 0.0) 253 bytespersec /= elapsed; 264 if (bytes <= 0 || elapsed <= 0.0 || cursize > (uint64_t)filesize) { 270 ((filesize - restart_point) / (bytes / elapsed) - 271 elapsed); 309 double elapsed; local 321 elapsed = td.tv_sec + (td.tv_usec / 1000000.0); 325 if (elapsed > 0.0 [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| timing_load_creds.c | 113 struct rusage start, end, elapsed; local 184 perror("elapsed start"); 230 timersub(&end.ru_utime, &start.ru_stime, &elapsed.ru_stime); 231 timersub(&end.ru_utime, &start.ru_utime, &elapsed.ru_utime); 238 print_timeval("user ", &elapsed.ru_utime); 239 print_timeval("sys ", &elapsed.ru_stime); 242 print_timeval("elapsed??", &e_elapsed);
|
| /src/external/cddl/osnet/lib/libzfs/ |
| thread_pool.c | 111 int elapsed; local 126 elapsed = 0; 144 elapsed = 1; 163 elapsed = 0; 192 if (elapsed && tpool->tp_current > tpool->tp_minimum) {
|
| /src/external/gpl3/gcc/dist/gcc/ |
| timevar.h | 26 /* Timing variables are used to measure elapsed time in various 27 portions of the compiler. Each measures elapsed user, system, and 38 Timing variables may be pushed onto the stack; elapsed time is 44 All time elapsed between the two calls is attributed to the 136 const char *name, const timevar_time_def &elapsed); 137 static bool all_zero (const timevar_time_def &elapsed); 147 /* Elapsed time for this variable. */ 148 struct timevar_time_def elapsed; member in struct:timer::timevar_def 169 Elapsed time is attributed to the topmost timing variable on the 202 pushed. Time elapsed since then is attributed to the topmos [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| timevar.h | 24 /* Timing variables are used to measure elapsed time in various 25 portions of the compiler. Each measures elapsed user, system, and 36 Timing variables may be pushed onto the stack; elapsed time is 42 All time elapsed between the two calls is attributed to the 134 const char *name, const timevar_time_def &elapsed); 135 static bool all_zero (const timevar_time_def &elapsed); 143 /* Elapsed time for this variable. */ 144 struct timevar_time_def elapsed; member in struct:timer::timevar_def 165 Elapsed time is attributed to the topmost timing variable on the 198 pushed. Time elapsed since then is attributed to the topmos [all...] |
| /src/external/public-domain/xz/dist/src/common/ |
| mythread.h | 492 DWORD elapsed = GetTickCount() - condtime->start; local 493 DWORD timeout = elapsed >= condtime->timeout 494 ? 0 : condtime->timeout - elapsed;
|
| /src/sys/arch/hpcmips/tx/ |
| tx39clock.c | 150 int elapsed; local 169 elapsed = t1.t_lo - t0.t_lo; 171 *cpuclock = (100000000 / elapsed) * TX39_RTCLOCK;
|
| /src/sys/dev/dm/ |
| dm_target_flakey.c | 313 int elapsed; local 318 elapsed = (tick - tfc->offset_time) / hz; 319 if (elapsed % (tfc->up_int + tfc->down_int) >= tfc->up_int) {
|
| /src/sys/external/bsd/drm2/dist/drm/radeon/ |
| radeon_ring.c | 260 uint64_t elapsed; local 268 elapsed = jiffies_to_msecs(jiffies_64 - last); 269 if (radeon_lockup_timeout && elapsed >= radeon_lockup_timeout) { 271 ring->idx, elapsed);
|
| /src/tests/lib/libc/sys/ |
| t_clock_gettime.c | 119 long long elapsed; local 127 elapsed = 1000000000LL * (tsb.tv_sec - tsl.tv_sec) 131 (void)printf("%lld nsec\n", elapsed);
|
| /src/crypto/external/bsd/openssh/dist/ |
| progressmeter.c | 132 double elapsed, now; local 160 elapsed = now - last_update; 162 elapsed = now - start; 169 if (elapsed != 0) 170 cur_speed = (transferred / elapsed); 207 stalled += elapsed; 219 seconds = elapsed;
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/ |
| benchmark_test.cc | 194 auto elapsed = local 197 state.SetIterationTime(elapsed.count());
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/test/ |
| benchmark_test.cc | 194 auto elapsed = local 197 state.SetIterationTime(elapsed.count());
|
| /src/external/bsd/libevent/dist/test/ |
| regress_iocp.c | 95 DWORD elapsed; local 102 elapsed = GetTickCount(); 104 elapsed = GetTickCount() - elapsed; 105 ms -= elapsed;
|
| regress_thread.c | 466 struct timeval elapsed; local 487 evutil_timersub(&timer_end, &timer_start, &elapsed); 490 (unsigned)(elapsed.tv_sec*1000000 + elapsed.tv_usec); 491 TT_BLATHER(("elapsed time, %u usec", elapsed_usec));
|
| /src/external/bsd/nsd/dist/ |
| metrics.c | 523 struct timeval elapsed, uptime; local 543 /* time elapsed since last nsd-control stats reset (in seconds) */ 547 timeval_subtract(&elapsed, now, rc_stats_time); 549 timeval_subtract(&elapsed, now, &xfrd->nsd->metrics->stats_time); 556 (unsigned long)elapsed.tv_sec, (unsigned long)elapsed.tv_usec);
|
| /src/external/bsd/ntp/dist/sntp/libevent/test/ |
| regress_iocp.c | 96 DWORD elapsed; local 103 elapsed = GetTickCount(); 105 elapsed = GetTickCount() - elapsed; 106 ms -= elapsed;
|
| /src/external/bsd/openldap/dist/libraries/liblutil/ |
| meter.c | 145 time_t remaining_time, elapsed; local 155 elapsed = now - meter->start_time; 156 if (frac <= 0.0 || elapsed == 0) return 0; 162 (time_t) elapsed, 163 ((double)position) / elapsed); 180 (time_t) elapsed, 232 time_t elapsed, 247 /* |#################### 100.00% eta 1d19h elapsed 23w 7d23h15m12s spd nnnn.n M/s */ 285 /* eta and elapsed */ 292 rc = lutil_time_string( time_buffer, elapsed, 5) 361 double elapsed; local [all...] |
| /src/sys/net/npf/ |
| npf_conn.c | 717 int elapsed; local 728 elapsed = (int64_t)tsnow - atomic_load_relaxed(&con->c_atime); 729 return elapsed > etime;
|