/freebsd-10.0-release/usr.bin/w/ |
H A D | pr_time.c | 98 * Display the idle time. 99 * Returns number of excess characters that were used for long idle time. 102 pr_idle(time_t idle) argument 104 /* If idle more than 36 hours, print as a number of days. */ 105 if (idle >= 36 * 3600) { 106 int days = idle / 86400; 114 /* If idle more than an hour, print as HH:MM. */ 115 else if (idle >= 3600) 117 (int)(idle / 3600), (int)((idle [all...] |
H A D | w.c | 97 static int sortidle; /* sort by idle time */ 109 time_t idle; /* idle time of terminal in seconds */ member in struct:entry 252 if ((ep->idle = now - touched) < 0) 253 ep->idle = 0; 327 /* sort by idle time */ 335 (*nextp) && from->idle >= (*nextp)->idle; 424 longidle = pr_idle(ep->idle);
|
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.schedenable.ksh | 57 xdt:sched::idle-off-cpu, 58 xdt:sched::idle-on-cpu,
|
/freebsd-10.0-release/contrib/top/ |
H A D | machine.h | 63 int idle; /* show idle processes */ member in struct:process_select 70 int kidle; /* show per-CPU idle threads */
|
H A D | top.c | 258 ps.idle = Yes; 317 case 'I': /* show idle processes */ 318 ps.idle = !ps.idle; 980 ps.idle = !ps.idle; 982 " %sisplaying idle processes.", 983 ps.idle ? "D" : "Not d"); 1091 " %sisplaying system idle process.",
|
/freebsd-10.0-release/libexec/rpc.rusersd/ |
H A D | rusers_proc.c | 91 syslog(LOG_ERR, "%s: unable to get idle time", display); 117 u_long idle; local 124 if (display && *display && (idle = XqueryIdle(display)) >= 0) 125 return(idle); 127 idle = 0; 136 idle = (kbd_idle < mouse_idle)?kbd_idle:mouse_idle; 150 idle = now - st.st_atime; 151 idle = (idle + 30) / 60; /* secs->mins */ 154 return(idle); [all...] |
/freebsd-10.0-release/usr.bin/rusers/ |
H A D | rusers.c | 98 int idle; local 127 idle = up->utmpidlearr_val[x].ui_idle; 128 sprintf(idle_time, " :%02d", idle); 129 if (idle == MAX_INT) 131 else if (idle == 0) 134 seconds = idle; 141 if (idle > 60) 143 if (idle >= (60 * 60)) 146 if (idle >= (24 * 60 * 60))
|
/freebsd-10.0-release/usr.bin/who/ |
H A D | who.c | 65 static int uflag; /* Show idle time */ 97 case 'u': /* Show idle time */ 167 time_t idle, t; local 176 idle = 0; 182 idle = time(NULL) - sb.st_mtime; 198 if (idle < 60) 200 else if (idle < 24 * 60 * 60) 201 printf("%02d:%02d ", (int)(idle / 60 / 60), 202 (int)(idle / 60 % 60));
|
/freebsd-10.0-release/contrib/apr/misc/unix/ |
H A D | randbyte_os2.inc | 59 * idle / busy / interrupt cycle counts which should provide very good 73 ULONG ulIdleLow; /* Low 32 bits of idle time */ 74 ULONG ulIdleHigh; /* High 32 bits of idle time */
|
/freebsd-10.0-release/sys/contrib/altq/altq/ |
H A D | altq_rio.h | 105 int idle; /* queue was empty */ member in struct:rio::dropprec_state 107 struct timeval last; /* timestamp when queue becomes idle */ 115 used for idle calibration */
|
H A D | altq_rio.c | 254 prec->idle = 1; 358 if (prec->idle) { 359 prec->idle = 0; 462 if (rp->rio_precstate[i].idle == 0) { 463 rp->rio_precstate[i].idle = 1;
|
H A D | altq_rmclass.c | 155 * maxidle max value allowed for class 'idle' time estimate (this 179 * not nanoseconds.) Also note that the 'idle' filter computation keeps 1258 int idle, avgidle, pktlen; local 1322 TV_DELTA(&ifd->ifnow_, &cl->last_, idle); 1323 if (idle >= 2000000) 1325 * this class is idle enough, reset avgidle. 1337 idle -= pkt_time; 1340 avgidle += idle - (avgidle >> RM_FILTER_GAIN); 1354 /* set next idle to make avgidle 0 */
|
/freebsd-10.0-release/usr.sbin/powerd/ |
H A D | powerd.c | 452 int ch, mode, mode_ac, mode_battery, mode_none, idle, to; local 630 idle = 0; 640 if (mode == MODE_HIADAPTIVE || idle < 120) 642 else if (idle < 360) 676 if (idle % 32 == 0) { 681 idle++; 698 idle = 0; 717 idle = 0; 778 idle = 0;
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | bundle.h | 107 unsigned min_timeout; /* Don't idle out before this */ 108 } idle; member in struct:bundle::__anon11658 134 } idle; member in struct:bundle
|
H A D | bundle.c | 239 != bundle->phys_type.open && bundle->idle.timer.state == TIMER_STOPPED) 240 /* We may need to start our idle timer */ 275 * If it's the first NCP, start the idle timer. 307 * If it's our last NCP, stop the idle timer. 828 bundle.cfg.idle.timeout = NCP_IDLE_TIMEOUT; 829 bundle.cfg.idle.min_timeout = 0; 884 memset(&bundle.idle.timer, '\0', sizeof bundle.idle.timer); 885 bundle.idle.done = 0; 917 timer_Stop(&bundle->idle [all...] |
/freebsd-10.0-release/sys/dev/patm/ |
H A D | if_patm.c | 373 u_int base, idle; local 376 idle = sc->mmap->tst1base + sc->mmap->tst_size; 384 sc->tst_jump[1] = idle + sc->mmap->tst_size - 1; 386 sc->tst_base[1] = idle; 395 patm_sram_write(sc, idle + i, IDT_TST_VBR); 396 patm_sram_write(sc, sc->tst_jump[1], IDT_TST_BR | (idle << 2));
|
H A D | if_patm_tx.c | 241 /* we are idle */ 644 * if the connection is idle start it. We cannot rely 646 * the card seems to place an idle TSI into the TSQ but 759 * VBR/ABR connection went idle 760 * Either restart it or set the idle flag. 767 patm_debug(sc, VCC, "idle %u", cid); 1187 * Write the soft TST into the idle incore TST and start the wait timer. 1194 u_int idle; /* the idle TST */ local 1200 idle [all...] |
/freebsd-10.0-release/lib/libc/isc/ |
H A D | ev_timers.c | 493 struct timespec idle; local 498 idle = evSubTime(ctx->lastEventTime, this->lastTouched); 499 if (evCmpTime(idle, this->max_idle) >= 0) { 510 this->timer->inter = evSubTime(this->max_idle, idle);
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_clocksource.c | 72 static sbintime_t getnextcpuevent(int idle); 110 static u_int idletick = 0; /* Run periodic events when idle. */ 113 0, "Run periodic events when idle"); 135 int idle; /* This CPU is in idle mode. */ member in struct:pcpu_state 235 state->idle = 0; 247 getnextcpuevent(int idle) argument 254 /* Handle hardclock() events, skipping some if CPU is idle. */ 256 if (idle) { 270 if (!idle) { /* I [all...] |
/freebsd-10.0-release/sys/dev/sym/ |
H A D | sym_fw.h | 73 SYM_GEN_A(s, idle) SYM_GEN_A(s, ungetjob) \
|
/freebsd-10.0-release/usr.bin/ctlstat/ |
H A D | ctlstat.c | 91 uint64_t idle; member in struct:ctl_cpu_stats 232 cpu_stats->idle = cp_time[CP_IDLE]; 426 ctx->cur_cpu.intr + ctx->cur_cpu.idle; 431 ctx->cur_idle = ctx->cur_cpu.idle;
|
/freebsd-10.0-release/sys/netinet/ |
H A D | tcp_output.c | 183 int idle, sendalot; local 211 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una); 212 if (idle && ticks - tp->t_rcvtime >= tp->t_rxtcur) 215 if (idle) { 218 idle = 0; 458 * TODO: Shrink send buffer during idle periods together 518 * either idle or running NODELAY 535 (idle || (tp->t_flags & TF_NODELAY)) && 646 * idle not doing retransmits or persists 656 * The output side is idle whe [all...] |
/freebsd-10.0-release/sys/contrib/ngatm/netnatm/sig/ |
H A D | sig_uni.c | 662 int idle; local 664 idle = TAILQ_EMPTY(&uni->calls) && 668 if ((*mask & UNICFG_PROTO) && idle) { 684 if (!uni->cx.q2932 || idle) {
|
/freebsd-10.0-release/sys/dev/drm/ |
H A D | r128_drm.h | 252 int idle; member in struct:drm_r128_cce_stop
|
/freebsd-10.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-dpi-defs.h | 629 uint64_t idle : 1; /**< DMA Request Queue is IDLE */ member in struct:cvmx_dpi_dmax_ibuff_saddr::cvmx_dpi_dmax_ibuff_saddr_s 642 uint64_t idle : 1; 656 uint64_t idle : 1; /**< DMA Request Queue is IDLE */ member in struct:cvmx_dpi_dmax_ibuff_saddr::cvmx_dpi_dmax_ibuff_saddr_cn61xx 671 uint64_t idle : 1;
|