| /tools/testing/selftests/kvm/include/arm64/ |
| A D | arch_timer.h | 20 #define msec_to_cycles(msec) \ argument 21 (timer_get_cntfrq() * (uint64_t)(msec) / 1000) 145 static inline void timer_set_next_cval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_cval_ms() argument 148 uint64_t next_ct = now_ct + msec_to_cycles(msec); in timer_set_next_cval_ms() 153 static inline void timer_set_next_tval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_tval_ms() argument 155 timer_set_tval(timer, msec_to_cycles(msec)); in timer_set_next_tval_ms()
|
| /tools/testing/selftests/kvm/include/riscv/ |
| A D | arch_timer.h | 16 #define msec_to_cycles(msec) \ argument 17 ((timer_freq) * (uint64_t)(msec) / 1000) 50 static inline void timer_set_next_cmp_ms(uint32_t msec) in timer_set_next_cmp_ms() argument 53 uint64_t next_ct = now_ct + msec_to_cycles(msec); in timer_set_next_cmp_ms()
|
| /tools/thermal/lib/ |
| A D | uptimeofday.c | 32 struct timespec msec_to_timespec(int msec) in msec_to_timespec() argument 35 .tv_sec = (msec / 1000), in msec_to_timespec() 36 .tv_nsec = (msec % 1000) * 1000000, in msec_to_timespec()
|
| A D | uptimeofday.h | 10 struct timespec msec_to_timespec(int msec);
|
| /tools/testing/selftests/drivers/net/mlxsw/ |
| A D | devlink_trap_l3_drops.sh | 208 -B $dip -d 1msec -q & 243 -b $rp1mac -B $dip -d 1msec -q & 277 -B $dip -d 1msec -q & 312 -b $rp1mac -B $dip -d 1msec -q & 343 -B $h2_ipv4 -d 1msec -q & 396 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload & 442 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload & 480 "33:33:00:00:00:00" -B $dip -d 1msec -q & 505 "33:33:00:00:00:00" -B $dip -d 1msec -q & 535 -B $dip -d 1msec -q & [all …]
|
| A D | devlink_trap_l2_drops.sh | 105 $MZ $h1 -c 0 -p 100 -a $smac -b bcast -t ip -d 1msec -q & 131 $MZ $h1 "$opt" -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 191 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 234 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 304 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q & 349 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -B $dip -d 1msec -q & 395 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
|
| A D | tc_sample.sh | 338 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 364 ip vrf exec v${h3}_bond $MZ ${h3}_bond -c 3200 -d 1msec -p 64 \ 390 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 416 ip vrf exec v${h3}_bond $MZ ${h3}_bond -c 3200 -d 1msec -p 64 \ 445 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 460 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 533 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \ 611 ip vrf exec v$h1 $MZ $h1 -c 3200 -d 1msec -p 64 -A 192.0.2.1 \
|
| A D | devlink_trap_acl_drops.sh | 105 -t ip -d 1msec -q & 130 -t ip -d 1msec -q &
|
| A D | devlink_trap_l3_exceptions.sh | 192 $MZ $h1 -t udp "sp=54321,dp=12345,df" -p 1400 -c 0 -d 1msec -b $rp1mac \ 227 $MZ $h1 -t udp "ttl=$ttl_val,sp=54321,dp=12345" -c 0 -d 1msec \ 339 $MZ $flags $h1 -t udp "sp=54321,dp=12345" -c 0 -d 1msec -b $rp1mac \ 537 $MZ $h1 -t udp "sp=54321,dp=12345" -c 0 -d 1msec -b $rp1mac \ 564 $MZ -6 $h1 -t udp "sp=54321,dp=12345" -c 0 -d 1msec -b $rp1mac \
|
| A D | devlink_trap_tunnel_vxlan.sh | 175 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -b $rp1_mac -B 192.0.2.17 \ 245 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -b $rp1_mac \ 313 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -b $rp1_mac \
|
| A D | devlink_trap_tunnel_vxlan_ipv6.sh | 179 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -b $rp1_mac \ 254 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -b $rp1_mac \ 325 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -b $rp1_mac \
|
| A D | devlink_trap_tunnel_ipip.sh | 166 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \ 199 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \
|
| A D | devlink_trap_tunnel_ipip6.sh | 167 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \ 199 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \
|
| A D | rif_counter_scale.sh | 97 $MZ $h1 -Q $i -c 1 -d 20msec -p 100 -a own -b $(mac_get $h2) \
|
| A D | rif_mac_profiles.sh | 123 -A 192.0.2.1 -B 198.51.100.1 -c 10 -p 100 -d 1msec -q 156 -A 198.51.100.1 -B 192.0.2.1 -c 10 -p 100 -d 1msec -q
|
| A D | tc_flower_scale.sh | 132 $MZ -6 $h1 -c 1 -d 20msec -p 100 -a own -b $(mac_get $h2) \
|
| A D | ingress_rif_conf_vxlan.sh | 258 ip vrf exec v$rp2 $MZ $rp2 -c 10 -d 1msec -b $rp1_mac \ 289 ip vrf exec v$rp2 $MZ $rp2 -c 10 -d 1msec -b $rp1_mac \
|
| A D | one_armed_router.sh | 147 ip vrf exec v$h1 $MZ $h1 -c 10 -d 100msec -p 64 -A 192.0.2.1 \ 190 ip vrf exec v$h1 $MZ $h1 -6 -c 10 -d 100msec -p 64 -A 2001:db8:1::1 \
|
| /tools/testing/selftests/net/forwarding/ |
| A D | router.sh | 200 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ 249 $MZ $flags $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $dmac \ 278 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ 298 $MZ -6 $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ 321 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $rp1mac -B $dip -q
|
| A D | bridge_locked_port.sh | 228 $MZ $h1 -q -c 5 -d 100msec -t udp -a $mac -b rand 232 $MZ $h2 -q -c 5 -d 100msec -t udp -a $mac -b rand 239 $MZ $h1 -q -c 5 -d 100msec -t udp -a $mac -b rand 288 $MZ $h1 -q -c 5 -d 100msec -t udp -a $locked_mac1 -b rand 293 $MZ $h2 -q -c 5 -d 100msec -t udp -a $locked_mac2 -b rand
|
| /tools/testing/selftests/drivers/net/hw/ |
| A D | hw_stats_l3.sh | 172 $MZ $h1.200 -c 21 -d 20msec -p 100 \ 179 $MZ $h1.200 -6 -c 21 -d 20msec -p 100 \ 186 $MZ $h2.200 -c 21 -d 20msec -p 100 \ 193 $MZ $h2.200 -6 -c 21 -d 20msec -p 100 \
|
| A D | hw_stats_l3_gre.sh | 70 $MZ $h1 -c 21 -d 20msec -p 100 \
|
| /tools/testing/selftests/kvm/include/ |
| A D | test_util.h | 23 #define msecs_to_usecs(msec) ((msec) * 1000ULL) argument
|
| /tools/perf/Documentation/ |
| A D | perf-sched.txt | 71 [tid/pid] (msec) (msec) (msec) 81 Times are in msec.usec.
|
| A D | perf-kwork.txt | 42 (TYPE)NAME:NUM (msec) (msec) 59 Times are in msec.usec.
|