Searched refs:SECONDS (Results 1 - 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.sh71 (( tstart=SECONDS ))
73 (( tstop=SECONDS ))
H A Dsignal.sh255 float s=$SECONDS
257 (( (SECONDS-s) < 4 )) && err_exit 'parent does not wait for child to complete before handling signal'
258 ((s = SECONDS))
260 (( SECONDS-s < 4 )) && err_exit 'parent completes early'
299 SECONDS=0
304 (( SECONDS > 3.5 )) && err_exit "took $SECONDS seconds, expecting around 2"
306 SECONDS=0
311 (( SECONDS > 3.5 )) && err_exit "took $SECONDS second
[all...]
H A Dbasic.sh364 myfilter() { x=$(print ok | cat); print -r -- $SECONDS;}
424 float s=SECONDS
429 (( (SECONDS-s) < 4)) && err_exit '"command | while read...done" finishing too fast'
430 s=SECONDS
436 (( (SECONDS-s) < 2 )) || err_exit 'early termination not causing broken pipe'
470 float start=$SECONDS end
474 done | { read; $true; end=$SECONDS ;}
475 (( (SECONDS-start) < 1 )) && err_exit "pipefail not waiting for pipe to finish"
477 (( (SECONDS-start) > 2 )) && err_exit "pipefail causing /bin/true to wait for other end of pipe"
H A Dsubshell.sh442 float t1=$SECONDS
447 (( (SECONDS-t1) > 4 )) && err_exit '/bin/sleep& in subshell hanging'
448 ((t1=SECONDS))
451 (( (SECONDS-t1) > 4 )) && err_exit 'sleep& in subshell hanging'
H A Dcoprocess.sh128 SECONDS=0 count=0
132 if (( SECONDS > 8 ))
133 then err_exit "read -p hanging (SECONDS=$SECONDS count=$count)"
H A Dvariables.sh43 # SECONDS
45 if (( SECONDS < 2 ))
46 then err_exit SECONDS variable not working
429 typeset SECONDS=0
431 print $SECONDS
437 } 2> /dev/null || err_exit 'SECONDS not working in function'
581 ((SECONDS=3*4))
582 seconds=SECONDS
583 (( seconds < 12 || seconds > 12.1 )) && err_exit "SECONDS is $seconds and should be close to 12"
607 for v in EDITOR VISUAL OPTIND CDPATH FPATH PATH ENV LINENO RANDOM SECONDS
[all...]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dnetbios.h113 #define SECONDS (1000 * MILLISECONDS) macro
114 #define MINUTES (60 * SECONDS)
134 #define CONFLICT_TIMER (1 * SECONDS)
136 #define DEFAULT_TTL (600 * SECONDS)
138 #define SSN_CLOSE_TIMEOUT (30 * SECONDS)
139 #define FRAGMENT_TIMEOUT (2 * SECONDS)
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c216 {0, 1*DAYS, 30*SECONDS}, {30*SECONDS} },
285 {500*MS, 60*SECONDS, 1*SECONDS}, {1*SECONDS} },
289 {1*SECONDS, 60000*SECONDS, 60*SECONDS}, {60*SECONDS} },
293 {1*SECONDS, 6000
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/features/async_destroy/
H A Dasync_destroy_001_pos.ksh68 t0=$SECONDS
70 while [[ $((SECONDS - t0)) -lt 10 ]]; do
80 [[ $((SECONDS - t0)) -gt 180 ]] && \
/illumos-gate/usr/src/cmd/acct/
H A Dprctmp.sh33 MAJ/MIN CONNECT SECONDS START TIME SESSION START
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tunables.c252 {1*SECONDS, TCP_TIME_WAIT_MAX, 1*MINUTES}, {1*MINUTES} },
268 {0*MS, 20*SECONDS, 0*MS}, {0*MS} },
284 {1*SECONDS, UINT32_MAX, 3*MINUTES}, {3*MINUTES} },
288 {1*SECONDS, UINT32_MAX, 3*MINUTES}, {3*MINUTES} },
297 {1*SECONDS, UINT32_MAX, 10*SECONDS},
298 {10*SECONDS} },
302 {500*MS, UINT32_MAX, 10*SECONDS}, {10*SECONDS} },
310 {1*SECONDS, 1
[all...]
H A Dtcp_opt_data.c447 *i1 = tcp->tcp_fin_wait_2_flush_interval / SECONDS;
942 tcps->tcps_fin_wait_2_flush_interval_low/SECONDS >
944 tcps->tcps_fin_wait_2_flush_interval/SECONDS <
949 tcp->tcp_fin_wait_2_flush_interval = *i1 * SECONDS;
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dsimplefiletree1.sh114 (( bench.start=SECONDS ))
120 (( bench.stop=SECONDS ))
H A Dnumtree1.sh201 (( bench.start=SECONDS ))
229 (( bench.stop=SECONDS ))
H A Dsimplefileattributetree1.sh201 ${appconfig.do_benchmarking} && (( bench.start=SECONDS ))
264 ${appconfig.do_benchmarking} && (( bench.stop=SECONDS ))
H A Dshircbot.sh128 if (( (SECONDS-last_tick) > 5. )) ; then
129 (( last_tick=SECONDS ))
H A Dgnaw.sh740 seconds_before_read=${SECONDS}
764 (( rs=sleep_per_cycle-(SECONDS-seconds_before_read) ))
830 case $((SECONDS % 6 + RANDOM % 4)) in
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dtp.c110 #define SECONDS * tps macro
111 t1_write_reg_4(adapter, A_TP_2MSL, (1 SECONDS)/2);
112 t1_write_reg_4(adapter, A_TP_RXT_MIN, (1 SECONDS)/4);
113 t1_write_reg_4(adapter, A_TP_RXT_MAX, 64 SECONDS);
114 t1_write_reg_4(adapter, A_TP_PERS_MIN, (1 SECONDS)/2);
115 t1_write_reg_4(adapter, A_TP_PERS_MAX, 64 SECONDS);
116 t1_write_reg_4(adapter, A_TP_KEEP_IDLE, 7200 SECONDS);
117 t1_write_reg_4(adapter, A_TP_KEEP_INTVL, 75 SECONDS);
118 t1_write_reg_4(adapter, A_TP_INIT_SRTT, 3 SECONDS);
119 t1_write_reg_4(adapter, A_TP_FINWAIT2_TIME, 60 SECONDS);
121 #undef SECONDS macro
[all...]
/illumos-gate/usr/src/tools/scripts/
H A Dxref.sh74 # Print the provided informational message, and the current value of $SECONDS
82 ((seconds = SECONDS))
228 SECONDS=0
255 SECONDS=0
/illumos-gate/usr/src/uts/common/inet/
H A Dtunables.h139 #define SECONDS (1000 * MS) macro
140 #define MINUTES (60 * SECONDS)
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7cnca.c67 #define SECONDS (1000 * MS) macro
68 #define MINUTES (60 * SECONDS)
97 { 0, PARAM_MAX, 300*SECONDS, "nca_http_timeout"},
98 { 0, PARAM_MAX, 15*SECONDS, "nca_http_keep_alive_timeout"},
/illumos-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c80 #define SECONDS macro
139 1 MINUTES, 30 SECONDS,
140 0 SECONDS, 0 SECONDS
545 else if (delay > 95 SECONDS) {
590 } else if (delay > 95 SECONDS) {
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dvariables.h58 #define SECONDS (sh.bltin_nodes+28) macro
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c79 #define SECONDS(x) ((unsigned int)(x)) macro
84 #define WAITER_INITIAL SECONDS(1)
85 #define WAITER_MAX SECONDS(60)
125 #define LOCK_SLEEP_INTERVAL SECONDS(2)
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dreadcf.c23 #define SECONDS macro
4624 TimeOuts.to_connect = (time_t) 0 SECONDS;
4625 TimeOuts.to_aconnect = (time_t) 0 SECONDS;
4626 TimeOuts.to_iconnect = (time_t) 0 SECONDS;
4639 TimeOuts.to_ident = (time_t) 5 SECONDS;
4641 TimeOuts.to_ident = (time_t) 0 SECONDS;
4643 TimeOuts.to_fileopen = (time_t) 60 SECONDS;

Completed in 296 milliseconds

12