/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | ethtool-coalesce.sh | 34 ["rx-usecs"]="rx-usecs" 36 ["rx-usecs-irq"]="rx-usecs-irq" 38 ["tx-usecs"]="tx-usecs" 40 ["tx-usecs-irq"]="tx-usecs-irq" 42 ["stats-block-usecs"]="stats-block-usecs" 44 ["rx-usecs-low"]="rx-usecs-low" 45 ["tx-usecs-low"]="tx-usecs-low" 47 ["rx-usecs-high"]="rx-usecs-high" 48 ["tx-usecs-high"]="tx-usecs-high" 57 ["rx-usecs"]="" [all …]
|
/linux/kernel/time/ |
H A D | test_udelay.c | 6 * Tests are configured by writing: USECS ITERATIONS 8 * Specifying usecs of 0 or negative values will run multiples tests. 27 static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) in udelay_test_single() argument 34 int allowed_error_ns = usecs * 5; in udelay_test_single() 41 udelay(usecs); in udelay_test_single() 49 if ((time_passed + allowed_error_ns) / 1000 < usecs) in udelay_test_single() 57 seq_printf(s, "%d usecs x %d: exp=%d allowed=%d min=%d avg=%lld max=%d", in udelay_test_single() 58 usecs, iters, usecs * 1000, in udelay_test_single() 59 (usecs * 1000) - allowed_error_ns, min, avg, max); in udelay_test_single() 69 int usecs; in udelay_test_show() local [all …]
|
/linux/drivers/ufs/core/ |
H A D | ufs_trace.h | 173 TP_printk("%s: %s: took %lld usecs, err %d", 194 TP_PROTO(const char *dev_name, int err, s64 usecs, 197 TP_ARGS(dev_name, err, usecs, dev_state, link_state), 200 __field(s64, usecs) 208 __entry->usecs = usecs; 216 "%s: took %lld usecs, dev_state: %s, link_state: %s, err %d", 218 __entry->usecs, 226 TP_PROTO(const char *dev_name, int err, s64 usecs, 228 TP_ARGS(dev_name, err, usecs, dev_state, link_state)); 231 TP_PROTO(const char *dev_name, int err, s64 usecs, [all …]
|
/linux/arch/parisc/include/asm/ |
H A D | delay.h | 13 extern void __udelay(unsigned long usecs); 14 extern void __udelay_bad(unsigned long usecs); 16 static inline void udelay(unsigned long usecs) in udelay() argument 18 if (__builtin_constant_p(usecs) && (usecs) > 20000) in udelay() 19 __udelay_bad(usecs); in udelay() 20 __udelay(usecs); in udelay()
|
/linux/Documentation/trace/ |
H A D | hwlat_detector.rst | 50 - width - time period to sample with CPUs held (usecs) 52 - window - total period of sampling, width being inside (usecs) 55 for every 1,000,000 usecs (1s) the hwlat detector will spin for 500,000 usecs 57 change to a default of 10 usecs. If any latencies that exceed the threshold is 74 - tracing_threshold - minimum latency value to be considered (usecs) 75 - tracing_max_latency - maximum hardware latency actually observed (usecs) 77 - hwlat_detector/width - specified amount of time to spin within window (usecs) 78 - hwlat_detector/window - amount of time between (width) runs (usecs)
|
/linux/drivers/media/cec/core/ |
H A D | cec-pin-error-inj.c | 128 if (!strcmp(token, "tx-custom-low-usecs")) { in cec_pin_error_inj_parse_line() 129 u32 usecs; in cec_pin_error_inj_parse_line() local 131 if (kstrtou32(p, 0, &usecs) || usecs > 10000000) in cec_pin_error_inj_parse_line() 133 pin->tx_custom_low_usecs = usecs; in cec_pin_error_inj_parse_line() 136 if (!strcmp(token, "tx-custom-high-usecs")) { in cec_pin_error_inj_parse_line() 137 u32 usecs; in cec_pin_error_inj_parse_line() local 139 if (kstrtou32(p, 0, &usecs) || usecs > 10000000) in cec_pin_error_inj_parse_line() 141 pin->tx_custom_high_usecs = usecs; in cec_pin_error_inj_parse_line() 284 …seq_puts(sf, "# tx-custom-low-usecs <usecs> define the 'low' time for the custom pulse\n"… in cec_pin_error_inj_show() 285 …seq_puts(sf, "# tx-custom-high-usecs <usecs> define the 'high' time for the custom pulse\n… in cec_pin_error_inj_show() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | idpf.rst | 101 - Setting rx-usecs and tx-usecs to 80 will limit interrupts to about 104 # ethtool -C <ethX> adaptive-rx off adaptive-tx off rx-usecs 80 105 tx-usecs 80 108 - Disable adaptive ITR and ITR by setting rx-usecs and tx-usecs to 0 111 # ethtool -C <ethX> adaptive-rx off adaptive-tx off rx-usecs 0 112 tx-usecs 0 122 rx-usecs 10
|
H A D | i40e.rst | 565 # ethtool -C ethX rx-usecs-high N 568 interrupts per second. The value of rx-usecs-high can be set independently of 569 rx-usecs and tx-usecs in the same ethtool command, and is also independent of 576 # ethtool -C ethX adaptive-rx off adaptive-tx off rx-usecs-high 20 rx-usecs \ 577 5 tx-usecs 5 582 limits total interrupts per second to 50,000 via the rx-usecs-high parameter. 630 - Setting rx-usecs and tx-usecs to 125 will limit interrupts to about 8000 635 # ethtool -C <interface> adaptive-rx off adaptive-tx off rx-usecs 125 \ 636 tx-usecs 125 641 - Setting rx-usecs and tx-usecs to 250 will limit interrupts to about 4000 [all …]
|
/linux/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.h | 27 * @pri: pulse repetition interval (PRI) in usecs 28 * @dur: duration of sequence in usecs 31 * @first_ts: time stamp of first pulse in usecs 32 * @last_ts: time stamp of last pulse in usecs 52 * @last_ts: last pulse time stamp considered for this element in usecs 57 * @window_size: window size back from newest pulse time stamp in usecs
|
/linux/include/linux/ |
H A D | latencytop.h | 31 void __account_scheduler_latency(struct task_struct *task, int usecs, int inter); 33 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() argument 36 __account_scheduler_latency(task, usecs, inter); in account_scheduler_latency() 44 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() argument
|
/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
H A D | trigger-inter-event-combined-hist.tc | 20 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger 21 echo 'hist:keys=pid:waking_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).waking_laten… 25 echo 'hist:keys=pid:ts1=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger 26 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts1:onmatch(sched.sched_wakeup).wakeup_…
|
H A D | trigger-field-variable-support.tc | 14 echo 'hist:keys=comm:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger 15 echo 'hist:keys=next_comm:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).wakeup… 27 echo '!hist:keys=next_comm:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).wakeu…
|
/linux/Documentation/netlink/specs/ |
H A D | ethtool.yaml | 477 name: rx-usecs 483 name: rx-usecs-irq 489 name: tx-usecs 495 name: tx-usecs-irq 501 name: stats-block-usecs 513 name: rx-usecs-low 519 name: tx-usecs-low 528 name: rx-usecs-high 534 name: tx-usecs-high 555 name: tx-aggr-time-usecs [all …]
|
/linux/arch/arc/include/asm/ |
H A D | delay.h | 37 * Normal Math for computing loops in "N" usecs 40 * loops per "N" usecs = ((loops_per_jiffy * HZ / 1000000) * N) 54 static inline void __udelay(unsigned long usecs) in __udelay() argument 61 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay()
|
/linux/arch/hexagon/include/asm/ |
H A D | delay.h | 12 extern void __udelay(unsigned long usecs); 14 #define udelay(usecs) __udelay((usecs)) argument
|
/linux/arch/sh/include/asm/ |
H A D | watchdog.h | 43 * 1/32 (initial value) 41 usecs 44 * 1/64 82 usecs 45 * 1/128 164 usecs 46 * 1/256 328 usecs 47 * 1/512 656 usecs
|
/linux/arch/um/include/asm/ |
H A D | delay.h | 19 static inline void um_udelay(unsigned long usecs) in um_udelay() argument 23 time_travel_ndelay(1000 * usecs); in um_udelay() 26 udelay(usecs); in um_udelay()
|
/linux/Documentation/userspace-api/media/cec/ |
H A D | cec-pin-error-inj.rst | 53 # tx-custom-low-usecs <usecs> define the 'low' time for the custom pulse 54 # tx-custom-high-usecs <usecs> define the 'high' time for the custom pulse 76 # <usecs> microseconds (0-10000000, default 1000) 310 ``tx-custom-low-usecs <usecs>`` 314 ``tx-custom-high-usecs <usecs>`` 318 ``tx-custom-low-usecs + tx-custom-high-usecs``.
|
/linux/fs/ocfs2/cluster/ |
H A D | netdebug.c | 135 " sock acquiry: %lld usecs ago\n" in nst_seq_show() 136 " send start: %lld usecs ago\n" in nst_seq_show() 137 " wait start: %lld usecs ago\n", in nst_seq_show() 322 " timer: %lld usecs\n" in sc_show_sock_container() 323 " data ready: %lld usecs\n" in sc_show_sock_container() 324 " advance start: %lld usecs\n" in sc_show_sock_container() 325 " advance stop: %lld usecs\n" in sc_show_sock_container() 326 " func start: %lld usecs\n" in sc_show_sock_container() 327 " func stop: %lld usecs\n" in sc_show_sock_container()
|
/linux/drivers/usb/host/ |
H A D | ehci-sched.c | 203 ps->usecs, ps->c_usecs, ps->cs_mask); in bandwidth_dbg() 211 int usecs = qh->ps.usecs; in reserve_release_intr_bandwidth() local 223 usecs = -usecs; in reserve_release_intr_bandwidth() 231 ehci->bandwidth[i] += usecs; in reserve_release_intr_bandwidth() 334 * periodic transfer of the specified length (usecs), starting at the 362 unsigned usecs = ps->tt_usecs; in tt_available() local 372 if (tt->bandwidth[frame] + usecs > 900) in tt_available() 387 if (usecs > 125) { in tt_available() 388 int ufs = (usecs / 125); in tt_available() 395 tt_usecs[uframe] += usecs; in tt_available() [all …]
|
/linux/arch/riscv/lib/ |
H A D | delay.c | 85 void udelay(unsigned long usecs) in udelay() argument 87 u64 ucycles = (u64)usecs * lpj_fine * UDELAY_MULT; in udelay() 90 if (unlikely(usecs > MAX_UDELAY_US)) { in udelay() 91 n = (u64)usecs * riscv_timebase; in udelay()
|
/linux/arch/alpha/lib/ |
H A D | udelay.c | 43 udelay(unsigned long usecs) in udelay() argument 45 usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ; in udelay() 46 __delay((long)usecs >> 32); in udelay()
|
/linux/drivers/spi/ |
H A D | spi-lp8841-rtc.c | 67 unsigned usecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0_lsb() argument 80 usleep_range(usecs, usecs + 1); /* T(setup) */ in bitbang_txrx_be_cpha0_lsb() 88 usleep_range(usecs, usecs + 1); in bitbang_txrx_be_cpha0_lsb()
|
/linux/kernel/ |
H A D | latencytop.c | 162 * @usecs - the duration of the latency in microseconds 176 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) in __account_scheduler_latency() argument 183 if (inter && usecs > 5000) in __account_scheduler_latency() 188 if (usecs <= 0) in __account_scheduler_latency() 193 lat.time = usecs; in __account_scheduler_latency() 194 lat.max = usecs; in __account_scheduler_latency()
|
/linux/tools/include/nolibc/ |
H A D | unistd.h | 46 int usleep(unsigned int usecs) in usleep() argument 48 struct timeval my_timeval = { usecs / 1000000, usecs % 1000000 }; in usleep()
|