Home
last modified time | relevance | path

Searched refs:t0 (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/drivers/net/mlxsw/
Drouter_scale.sh68 local t0=$1; shift
72 local delta=$((t1 - t0))
119 local t0=$(ip route | grep -o 'offload' | wc -l)
121 delta=$(busywait "$TIMEOUT" wait_for_routes $t0 $route_count)
Ddevlink_trap_policer.sh182 local t0 t1
184 t0=$(devlink_trap_rx_packets_get blackhole_route)
188 echo $(((t1 - t0) / 10))
194 local t0 t1
196 t0=$(devlink_trap_policer_rx_dropped_get $id)
200 echo $(((t1 - t0) / 10))
Dqos_lib.sh35 local t0=$(ethtool_stats_get $host_in $counter)
42 local er=$(rate $t0 $t1 $interval)
Dqos_mc_aware.sh243 local t0=$(ethtool_stats_get $h3 rx_octets_prio_0)
270 local mc_er=$(rate $t0 $t1 $interval)
299 local t0=$(ethtool_stats_get $h3 rx_octets_prio_1)
321 local uc_er=$(rate $t0 $t1 $interval)
Dqos_defprio.sh129 local t0=$(ethtool_stats_get $swp1 rx_frames_prio_$prio_observe)
/tools/testing/selftests/net/forwarding/
Dip6_forward_instats_vrf.sh91 local t0=$(ipv6_stats_get $rtr1 Ip6InTooBigErrors)
108 local t0=$(ipv6_stats_get $rtr1 Ip6InHdrErrors)
126 local t0=$(ipv6_stats_get $rtr1 Ip6InAddrErrors)
145 local t0=$(ipv6_stats_get $rtr1 Ip6InDiscards)
Dsch_ets_tests.sh84 local -a t0 t1 d
97 t0=($(collect_stats "${streams[@]}"))
103 echo $((${t1[$i]} - ${t0[$i]}))
Dtc_police.sh137 local t0=$(tc_rule_stats_get $h2 1 ingress .bytes)
142 local nr=$(rate $t0 $t1 10)
187 local t0=$(tc_rule_stats_get $h2 1 ingress .bytes)
192 local nr=$(rate $t0 $t1 10)
257 local t0=$(tc_rule_stats_get $h2 1 ingress .bytes)
262 local nr=$(rate $t0 $t1 10)
267 local t0=$(tc_rule_stats_get $h3 1 ingress .bytes)
272 local nr=$(rate $t0 $t1 10)
Dmirror_lib.sh47 local t0=$(tc_rule_stats_get $dev $pref)
52 local delta=$((t1 - t0))
Dvxlan_bridge_1d.sh492 local t0=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir)
495 local delta=$((t1 - t0))
607 local t0=$($stat_get)
615 local delta=$((t1 - t0))
Dlib.sh718 local t0=$1; shift
722 echo $((8 * (t1 - t0) / interval))
Dvxlan_bridge_1q.sh693 local t0=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir)
696 local delta=$((t1 - t0))
/tools/testing/selftests/powerpc/tm/
Dtm-unavailable.c302 pthread_t t0; in test_fp_vec() local
318 rc = pthread_create(&t0, attr, tm_una_ping, (void *) &flags); in test_fp_vec()
321 rc = pthread_setname_np(t0, "tm_una_ping"); in test_fp_vec()
324 rc = pthread_join(t0, &ret_value); in test_fp_vec()
/tools/testing/selftests/net/
Dtcp_mmap.c154 struct timeval t0, t1; in child_thread() local
165 gettimeofday(&t0, NULL); in child_thread()
237 delta_usec = (t1.tv_sec - t0.tv_sec) * 1000000 + t1.tv_usec - t0.tv_usec; in child_thread()
/tools/power/pm-graph/
Dbootgraph.py532 t0 = data.start
534 tTotal = tMax - t0
558 left = '%.3f' % (((phase['start']-t0)*100.0)/tTotal)
578 left = '%.6f' % (((dev['start']-t0)*100)/tTotal)
594 left = '%f' % (((l.time-t0)*100)/tTotal)
604 left = '%f' % (((cg.start-t0)*100)/tTotal)
614 devtl.createTimeScale(t0, tMax, tTotal, 'boot')
Dsleepgraph.py1586 def trimTimeVal(self, t, t0, dT, left): argument
1588 if(t > t0):
1589 if(t - dT < t0):
1590 return t0
1595 if(t < t0 + dT):
1596 if(t > t0):
1597 return t0 + dT
1601 def trimTime(self, t0, dT, left): argument
1602 self.tSuspended = self.trimTimeVal(self.tSuspended, t0, dT, left)
1603 self.tResumed = self.trimTimeVal(self.tResumed, t0, dT, left)
[all …]
/tools/perf/
Dbuiltin-stat.c716 unsigned long long t0, t1; in __run_perf_stat() local
875 t0 = rdclock(); in __run_perf_stat()
908 stat_config.walltime_run[run_idx] = t1 - t0; in __run_perf_stat()
914 update_stats(&walltime_nsecs_stats, t1 - t0); in __run_perf_stat()
924 update_stats(&walltime_nsecs_stats, t1 - t0); in __run_perf_stat()
932 read_counters(&(struct timespec) { .tv_nsec = t1-t0 }); in __run_perf_stat()
/tools/perf/scripts/python/
Dexported-sql-viewer.py4984 t0 = self.SwitchesMinTime(machine_id)
4987 if t0 is None or (not(t1 is None) and t1 < t0):
4988 t0 = t1
4989 if t0 is None or (not(t2 is None) and t2 < t0):
4990 t0 = t2
4991 return t0
4994 t0 = self.SwitchesMaxTime(machine_id)
4997 if t0 is None or (not(t1 is None) and t1 > t0):
4998 t0 = t1
4999 if t0 is None or (not(t2 is None) and t2 > t0):
[all …]