Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 6 of 6) sorted by relevance

/tools/perf/tests/
Dthread-mg-share.c15 struct thread *t1, *t2, *t3; in test__thread_mg_share() local
37 t2 = machine__findnew_thread(machine, 0, 2); in test__thread_mg_share()
44 leader && t1 && t2 && t3 && other); in test__thread_mg_share()
51 TEST_ASSERT_VAL("map groups don't match", mg == t2->mg); in test__thread_mg_share()
69 machine__remove_thread(machine, t2); in test__thread_mg_share()
86 thread__put(t2); in test__thread_mg_share()
/tools/testing/selftests/bpf/
Dtest_lpm_map.c98 struct tlpm_node *list = NULL, *t1, *t2; in test_lpm_basic() local
112 t2 = list = tlpm_add(list, (uint8_t[]){ 0xff, 0xff }, 16); in test_lpm_basic()
114 assert(t2 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 16)); in test_lpm_basic()
123 struct tlpm_node *t1, *t2, *l1 = NULL, *l2 = NULL; in test_lpm_order() local
145 t2 = tlpm_match(l2, key, 16); in test_lpm_order()
147 assert(!t1 == !t2); in test_lpm_order()
149 assert(t1->n_bits == t2->n_bits); in test_lpm_order()
152 (t2->key[j / 8] & (1 << (7 - j % 8)))); in test_lpm_order()
/tools/testing/selftests/ptp/
Dtestptp.c185 int64_t t1, t2, tp; in main() local
503 t2 = pctns(pct+2*i+2); in main()
504 interval = t2 - t1; in main()
505 offset = (t2 + t1) / 2 - tp; in main()
/tools/power/cpupower/lib/
Dcpupower.c106 static int __compare(const void *t1, const void *t2) in __compare() argument
109 struct cpuid_core_info *top2 = (struct cpuid_core_info *)t2; in __compare()
/tools/power/x86/turbostat/
Dturbostat.c1203 struct pkg_data *p, struct thread_data *t2, in delta_cpu() argument
1213 retval = delta_thread(t, t2, c2); /* c2 is core delta */ in delta_cpu()
2346 struct thread_data *t, *t2; in for_all_cpus_2() local
2355 t2 = GET_THREAD(thread_base2, thread_no, core_no, pkg_no); in for_all_cpus_2()
2363 retval = func(t, c, p, t2, c2, p2); in for_all_cpus_2()
/tools/power/pm-graph/
Danalyze_suspend.py3787 t2 {color:black;font:25px Times;}\n\