Searched defs:interval (Results 1 - 25 of 119) sorted by relevance

12345

/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_ldap.c142 int interval; local
144 interval = t->initTtlHi - t->initTtlLo + 1;
146 if (interval > 1) {
148 ttl = (lrand48() % interval);
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_timers.c36 * Set the timer to the response or transaction time interval
42 clock_t interval; local
56 * The response timer interval is the sum of the IBA
64 interval = msgimplp->im_retrans.retrans_rtv +
68 IBMF_TNF_TRACE, "", "ibmf_i_set_timer: %s, interval = %ld "
71 tnf_long, interval, interval,
73 tnf_uint, interval, msgimplp->im_retrans.retrans_rttv);
76 (void *)msgimplp, drv_usectohz(interval));
86 interval
[all...]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpq.c80 int interval = 0; local
103 interval = atoi(av[optind++]);
121 if (interval != 0)
127 if ((interval != 0) && (num_jobs > 0))
128 sleep(interval);
129 } while ((interval > 0) && (num_jobs > 0));
/illumos-gate/usr/src/cmd/stat/common/
H A Dcommon.c55 * Sleep until *wakeup + interval, keeping cadence where desired
58 * interval - We want to sleep until *wakeup + interval
63 sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever, argument
71 pause = *wakeup + interval - now;
73 if (pause <= 0 || pause < (interval / 4))
76 *wakeup = now + interval;
77 pause = interval;
83 * interval AND the number of intervals has been
88 * interval thi
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_work.c61 dtrace_optval_t interval = dtp->dt_options[opt]; local
72 if (*((hrtime_t *)a) + interval < earliest)
73 earliest = *((hrtime_t *)a) + interval;
116 dtrace_optval_t interval = dtp->dt_options[DTRACEOPT_STATUSRATE]; local
126 if (now - dtp->dt_laststatus < interval)
129 dtp->dt_laststatus += interval;
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DSystemMonitor.java60 * Default sample interval (milliseconds).
65 * Sample interval (milliseconds, default 15000).
67 private int interval; field in class:SystemMonitor
70 * Sample interval property name.
73 "system.poold.monitor-interval";
81 * Raw statistics which are sampled each interval.
145 interval = (int)conf.getLongProperty(
148 interval = DEF_SAMPLE_INT;
150 timer = new SimpleRecurringEventTimer(interval);
217 * will block for the interval whic
[all...]
/illumos-gate/usr/src/cmd/powertop/common/
H A Dcpuidle.c159 pt_cpuidle_stat_collect(double interval) argument
165 * Assume that all the time spent in this interval will
170 g_cstate_info[0].total_time = (uint64_t)S2NS(interval *
H A Dcpufreq.c286 * sampling interval. Note that the aggregations may be empty if no
287 * speed transitions took place over the last interval. In that case,
289 * we do encounter a speed transition in a future sampling interval
293 pt_cpufreq_stat_collect(double interval) argument
298 * Zero out the interval time reported by DTrace for
299 * this interval
326 pt_cpufreq_stat_account(interval, g_observed_cpu);
331 pt_cpufreq_stat_account(interval, i);
339 pt_cpufreq_stat_account(double interval, uint_t cpu) argument
349 duration = (hrtime_t)(interval * NANOSE
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dcluster_rcm.c170 timespec_t *interval, uint_t flags, char **errstr,
169 cluster_suspend(rcm_handle_t *hdl, char *rsrcname, id_t id, timespec_t *interval, uint_t flags, char **errstr, rcm_info_t **dependent) argument
H A Ddump_rcm.c189 dump_suspend(rcm_handle_t *hdl, char *rsrcname, id_t id, timespec_t *interval, argument
H A Drcm_event.c126 timespec_t *interval = NULL; local
150 (uchar_t **)&interval, &interval_size);
206 (interval == NULL))
209 interval, &info);
H A Drcm_impl.c60 timespec_t *interval, nvlist_t *nvl, rcm_info_t **info)
80 arg.interval = interval;
260 timespec_t *interval, rcm_info_t **info)
271 pid, flag, interval, seq_num, info, &error) == 0) {
301 flag, seq_num, interval, NULL, info);
683 uint_t flag, timespec_t *interval, int seq_num, rcm_info_t **info,
739 flag | RCM_QUERY, seq_num, interval, NULL, info);
59 common_resource_op(int cmd, char *rsrcname, pid_t pid, uint_t flag, int seq_num, timespec_t *interval, nvlist_t *nvl, rcm_info_t **info) argument
259 process_resource_suspend(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, timespec_t *interval, rcm_info_t **info) argument
682 query(char **rsrcnames, int cmd, const char *opname, int querystate, pid_t pid, uint_t flag, timespec_t *interval, int seq_num, rcm_info_t **info, int *errorp) argument
/illumos-gate/usr/src/cmd/dispadmin/
H A Dsubr.c62 * hrtconvert() returns the interval specified by htp as a single
90 * Convert interval expressed in htp->hrt_res to new_res.
92 * Calculate: (interval * new_res) / htp->hrt_res rounding off as
103 long interval; local
125 interval = htp->hrt_rem;
126 if (interval == 0) {
136 * (interval * new_res) / hrt->hrt_res
139 numerator = interval * new_res;
141 if (numerator / new_res == interval) {
154 * (interval * new_re
[all...]
/illumos-gate/usr/src/cmd/auditstat/
H A Dauditstat.c59 static int interval; variable
113 (void) sleep(interval);
215 "auditstat: invalid interval specified.\n");
218 interval = atoi(optarg);
256 "[-T d|u] [-i interval] [-n] [-v]\n");
/illumos-gate/usr/src/uts/common/io/ral/
H A Dral_rate.c118 long interval; local
128 interval = MAX(100000, 10000000 / MAX(1, 10 * ra->ra_pktrate));
129 ra->ra_raise_interval.tv_sec = interval / (1000 * 1000);
130 ra->ra_raise_interval.tv_usec = interval % (1000 * 1000);
/illumos-gate/usr/src/uts/common/os/
H A Dclock_realtime.c78 timespec_t *val, *interval; local
87 interval = &it->it_itime.it_interval;
91 if (!timerspecisset(interval)) {
96 * If this is an interval timer, we need to determine a time
98 * clock has been adjusted, we want to find our new interval
100 * current time and add the interval; it would lead to
106 * size back to the original interval, and repeat until we
112 interval2nth = *interval;
116 * If we don't do this, and the interval is shorter
H A Dclock_highres.c153 * that the start time plus the interval time doesn't exceed
163 * (where "s" is the start time, "i" is the interval, "n" is the
187 * If this is a one-shot, then we set the interval to be
233 hrtime_t interval = ts2hrt(&it->it_itime.it_interval); local
255 if (interval == 0) {
265 * Calculate how far we are into this interval.
267 diff = (now - start) % interval;
270 * Now check to see if we've dealt with the last interval
275 * The last interval hasn't fired; set it_value to 0.
282 * The last interval _has
[all...]
/illumos-gate/usr/src/cmd/ndmpstat/
H A Dndmpstat_main.c86 long interval; local
90 interval = strtol(argv[0], &endptr, 10);
92 if (errno > 0 || *endptr != '\0' || interval <= 0 ||
93 interval > MAXLONG) {
97 poll_interval = 1000 * interval;
236 (void) fprintf(stderr, "Usage: ndmpstat [interval [count]]\n");
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Druptime.c64 static char *interval();
196 interval((int)(now - hsp->hs_wd->wd_recvtime),
203 interval(hsp->hs_wd->wd_sendtime -
220 interval(int time, char *updown) function
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Ddsstat.c41 int interval = 1; variable
63 "[-r <flags>] \\\n[-d <flags>] [<interval> [<count>]]\n\n"));
138 "<interval> is the number of seconds between reports\n\n"));
388 if ((interval = atoi(argv[optind])) <= 0) {
390 gettext("Invalid interval specified.\n"));
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_cb.c143 hrtime_t prev, curr, interval, jump; local
167 interval = curr - prev;
168 if (interval > jump)
169 intr_timeout += interval;
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsched.c508 sched_rr_get_interval(pid_t pid, timespec_t *interval) argument
530 interval->tv_sec = 0;
531 interval->tv_nsec = 0;
539 interval->tv_sec = rtp->rt_tqsecs;
540 interval->tv_nsec = rtp->rt_tqnsecs;
548 interval->tv_sec = fxp->fx_tqsecs;
549 interval->tv_nsec = fxp->fx_tqnsecs;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c101 static int interval, count; variable
140 * Called if an interval expires before intpr has completed a loop.
312 #define KBPS(n) ((n) / (interval * 1000.0))
316 * Repeat display every interval seconds, showing statistics
317 * collected over that interval. Assumes that interval is non-zero.
340 (void)alarm(interval);
469 (void)alarm(interval);
518 interval = atoi(optarg);
519 if (interval <
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dix_altsctr.c755 int interval; local
764 for (interval = ind; interval; ) {
769 interval >>= 1;
770 if (!interval) break;
772 ind = ind - interval;
776 if ((ind+interval) <= cnt)
777 ind += interval;
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Daddon-network-discovery.c95 nds_EnablePrinterScanningViaSNMP(LibHalContext *ctx, char *parent, int interval, argument
99 ctx, NP(parent), interval, NP(community), NP(network)));
118 g_timeout_add(interval * 1000, nds_snmp_scan_cb, snmp_cb_data);
165 int interval = -1; local
171 DBUS_TYPE_INT32, &interval,
179 rc = nds_EnablePrinterScanningViaSNMP(ctx, udi, interval,
183 int interval = -1; local
232 " <arg name=\"interval\" direction=\"in\" type=\"i\"/>\n"

Completed in 115 milliseconds

12345