Lines Matching refs:arg_delay
62 static usec_t arg_delay = 1*USEC_PER_SEC; variable
797 r = parse_sec(optarg, &arg_delay); in parse_argv()
800 if (arg_delay <= 0) in parse_argv()
956 if (t >= usec_add(last_refresh, arg_delay) || immediate_refresh) { in run()
979 (void) usleep(usec_add(usec_sub_unsigned(last_refresh, t), arg_delay)); in run()
981 … r = read_one_char(stdin, &key, usec_add(usec_sub_unsigned(last_refresh, t), arg_delay), NULL); in run()
1056 … arg_delay = usec_add(arg_delay, arg_delay < USEC_PER_SEC ? USEC_PER_MSEC * 250 : USEC_PER_SEC); in run()
1058 fprintf(stdout, "\nIncreased delay to %s.", FORMAT_TIMESPAN(arg_delay, 0)); in run()
1064 if (arg_delay <= USEC_PER_MSEC*500) in run()
1065 arg_delay = USEC_PER_MSEC*250; in run()
1067 …arg_delay = usec_sub_unsigned(arg_delay, arg_delay < USEC_PER_MSEC * 1250 ? USEC_PER_MSEC * 250 : … in run()
1069 fprintf(stdout, "\nDecreased delay to %s.", FORMAT_TIMESPAN(arg_delay, 0)); in run()