Searched refs:elapsed (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/cmd/dtrace/demo/ip/
H A Dipio.d38 this->elapsed = (timestamp - last) / 1000;
39 printf(" %3d %10d %15s -> %15s %8s %6d\n", cpu, this->elapsed,
47 this->elapsed = (timestamp - last) / 1000;
48 printf(" %3d %10d %15s <- %15s %8s %6d\n", cpu, this->elapsed,
/illumos-gate/usr/src/cmd/dtrace/demo/struct/
H A Drwinfo.d29 uint64_t elapsed; /* total elapsed time in nanoseconds */
48 i[probefunc].elapsed += timestamp - i[probefunc].ts;
53 printf(" calls max bytes elapsed nsecs\n");
56 i["read"].calls, i["read"].maxbytes, i["read"].elapsed);
58 i["write"].calls, i["write"].maxbytes, i["write"].elapsed);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/docsExamples/
H A Drwinfo.d42 uint64_t elapsed;
63 i[probefunc].elapsed += timestamp - i[probefunc].ts;
68 printf(" calls max bytes elapsed nsecs\n");
71 i["read"].maxbytes, i["read"].elapsed);
73 i["write"].maxbytes, i["write"].elapsed);
/illumos-gate/usr/src/cmd/dtrace/demo/io/
H A Diotime.d42 this->elapsed = timestamp - start[args[0]->b_edev, args[0]->b_blkno];
45 this->elapsed / 1000000, (this->elapsed / 1000) % 1000);
H A Diothrough.d57 this->elapsed = timestamp - start[args[0]->b_edev, args[0]->b_blkno];
59 quantize((args[0]->b_bcount * 976562) / this->elapsed);
/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c150 check_time(time_t elapsed, time_t expected) argument
152 time_t diff = expected - elapsed;
159 return (elapsed >= expected || diff <= TIME_DRIFT);
163 poll_wrapper(pollfd_t *fds, nfds_t nfds, int timeout, time_t *elapsed) argument
172 *elapsed = time(NULL) - start;
175 fds, nfds, timeout, ret, (*elapsed));
181 dppoll(int pollfd, pollfd_t *fds, nfds_t nfds, int timeout, time_t *elapsed) argument
195 *elapsed = time(NULL) - start;
198 fds, arg.dp_nfds, arg.dp_timeout, ret, (*elapsed));
233 time_t elapsed; local
261 time_t elapsed; local
294 time_t elapsed; local
322 time_t elapsed; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.h259 extern uint_t phyint_timer(struct phyint *pi, uint_t elapsed);
268 extern uint_t tmptoken_timer(struct phyint *pi, uint_t elapsed);
283 extern uint_t prefix_timer(struct prefix *pr, uint_t elapsed);
285 uint_t elapsed);
298 extern uint_t router_timer(struct router *dr, uint_t elapsed);
304 uint_t elapsed);
306 uint_t elapsed);
H A Dmain.c737 * since the last timer event in the 'elapsed' parameter.
740 advertise_event(struct phyint *pi, enum adv_events event, uint_t elapsed) argument
746 pi->pi_name, (int)event, elapsed, (int)pi->pi_adv_state);
811 if (pi->pi_adv_time_left >= elapsed)
812 pi->pi_adv_time_left -= elapsed;
817 pi->pi_adv_time_since_sent += elapsed;
998 * since the last timer event in the 'elapsed' parameter.
1001 solicit_event(struct phyint *pi, enum solicit_events event, uint_t elapsed) argument
1005 pi->pi_name, (int)event, elapsed, (int)pi->pi_sol_state);
1059 if (pi->pi_sol_time_left >= elapsed)
1174 uint_t elapsed; local
1201 uint_t elapsed; local
[all...]
H A Dtables.c511 * Called with the number of milliseconds elapsed since the last call.
518 phyint_timer(struct phyint *pi, uint_t elapsed) argument
530 next = advertise_event(pi, ADV_TIMER, elapsed);
546 next = solicit_event(pi, SOL_TIMER, elapsed);
563 pi->pi_reach_time_since_random += elapsed;
846 * Called from run_timeouts() with the number of milliseconds elapsed
852 tmptoken_timer(struct phyint *pi, uint_t elapsed) argument
860 pi->pi_name, (int)elapsed, pi->pi_TmpRegenCountdown);
866 if (pi->pi_TmpRegenCountdown > elapsed) {
867 pi->pi_TmpRegenCountdown -= elapsed;
1775 prefix_timer(struct prefix *pr, uint_t elapsed) argument
2019 adv_prefix_timer(struct adv_prefix *adv_pr, uint_t elapsed) argument
2186 router_timer(struct router *dr, uint_t elapsed) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/perf/scripts/
H A Dio.d82 this->elapsed = timestamp - start[args[0]->b_edev, args[0]->b_blkno];
86 @latencies[this->name] = avg(this->elapsed);
/illumos-gate/usr/src/cmd/acct/
H A Dacctcom.c68 ulong_t elapsed, variable
373 elapsed = expand(a->ac_etime);
374 etime = (ulong_t)a->ac_btime + (ulong_t)SECS(elapsed);
428 if(elapsed == 0)
429 elapsed++;
430 if(hogcut && hogcut >= (double)cpu/(double)elapsed)
438 realtot += (double)elapsed;
569 pf((double)SECS(elapsed));
580 pf((double)cpu / elapsed);
698 diag("-h print hog factor (total-CPU-time/elapsed
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Ddate.c68 "[E:elapsed?Interpret pairs of arguments as start and stop dates, sum the"
70 " \bfmtelapsed\b(3) elapsed time on the standard output. If there are"
173 "[U:unelapsed?Interpret each argument as \bfmtelapsed\b(3) elapsed"
287 int elapsed = 0; /* args are start/stop pairs */ local
318 elapsed = 1;
379 else if (elapsed)
405 error(3, "%s: invalid elapsed time", s);
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dsnmplib.c609 int elapsed; local
638 elapsed = now - val_arr[1];
639 if (elapsed < 0 || elapsed > MAX_INCACHE_TIME) {
663 int elapsed; local
692 elapsed = now - atoi(val_arr[1]);
693 if (elapsed < 0 || elapsed > MAX_INCACHE_TIME) {
1534 int elapsed; local
1541 elapsed
[all...]
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c111 time_t elapsed; local
141 elapsed = usage.pr_tstamp.tv_sec - usage.pr_term.tv_sec;
148 if ((Fflag == 0) && (elapsed < NOREAP_TIME)) {
/illumos-gate/usr/src/lib/libc/port/tpool/
H A Dthread_pool.c128 int elapsed; local
142 elapsed = 0;
160 elapsed = 1;
179 elapsed = 0;
207 if (elapsed && tpool->tp_current > tpool->tp_minimum) {
/illumos-gate/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c261 double elapsed, avg_w, avg_d; local
300 * Compute the elapsed time by taking the delta between 'snaptime', or
308 elapsed = delta ? (double)delta : (double)NANOSEC;
312 * len * time products (wlentime stat) and dividing by the elapsed time.
318 mp->m_wait = (double)delta / elapsed;
356 * busy times, dividing by the elapsed time, and multiplying by 100.
362 mp->m_pct_w = ((double)delta / elapsed) * 100.0;
370 mp->m_pct_b = ((double)delta / elapsed) * 100.0;
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_trace.c338 double elapsed = delta_time / 1000000.0; local
339 double kbps = elapsed * 1024.0; /* for Kbytes per second */
348 read_s = cs_persec->st_rdhits / elapsed;
349 write_s = cs_persec->st_wrhits / elapsed;
350 rmiss_s = cs_persec->st_rdmiss / elapsed;
351 wmiss_s = cs_persec->st_wrmiss / elapsed;
353 cs_persec->st_rdmiss + cs_persec->st_wrmiss) / elapsed;
/illumos-gate/usr/src/uts/common/io/vuidmice/
H A Dvuidps2.c340 clock_t elapsed; local
345 elapsed = now - STATEP->last_event_lbolt;
483 if (elapsed > mouse_timeout)
496 if (elapsed > mouse_timeout) {
/illumos-gate/usr/src/cmd/busstat/
H A Dbusstat.c1480 * Print the elapsed time in seconds, since the last call.
1488 hrtime_t elapsed = 0; local
1498 elapsed = (new_time - curr_time)/NANO;
1503 elapsed += 1;
1505 total_elapsed += elapsed;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dlgrpplat.c2445 hrtime_t elapsed; local
2505 elapsed = opt_probe_vendor(to, lgrp_plat_probe_nreads);
2521 elapsed = end - start;
2530 if (min == -1 || elapsed < min)
2531 min = elapsed;
2532 if (elapsed > max)
2533 max = elapsed;
3632 hrtime_t elapsed; local
3646 elapsed = (end - start) / nreads;
3649 return (elapsed);
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_vc.c527 * Calculate the elapsed time
529 hrtime_t elapsed = gethrtime() - start; local
530 if (elapsed >= tout)
541 if (NSECS_TO_MS(tout - elapsed) >=
546 NSECS_TO_MS(tout - elapsed);
548 tout - elapsed)
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai.c253 hrtime_t elapsed = (t - usba_last_timestamp)/1000; local
259 "+%lld->%p: %s%d: ", elapsed,
263 "+%lld->%p: %s: ", elapsed,
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c1212 time_t elapsed; local
1229 elapsed = gethrestime_sec() - dinfo->rd_time_returned;
1230 if (elapsed < rfs4_lease_time)
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c813 int elapsed; local
1312 elapsed = 0;
1313 while ((rvp->v_count > 1) && (elapsed < ufs_mount_timeout)) {
1315 elapsed += ufs_mount_error_delay;
/illumos-gate/usr/src/uts/common/os/
H A Ddumpsubr.c352 hrtime_t elapsed; /* elapsed time when completed */ member in struct:dumpsync
2528 sec = ds->elapsed / (1000 * 1000 * 1000ULL);
2894 ds->elapsed = gethrtime() - ds->start;
2895 if (ds->elapsed < 1)
2896 ds->elapsed = 1;

Completed in 2143 milliseconds

12