Home
last modified time | relevance | path

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

/external/autotest/client/tests/tsc/src/
Dchecktsc.c193 tsc_delta(int cpu_a, int cpu_b) in tsc_delta() argument
203 printf("CPU %d - CPU %d\n", cpu_a, cpu_b); in tsc_delta()
205 if (set_cpu_affinity(cpu_a) < 0) in tsc_delta()
233 printf("CPU %d - CPU %d = % 5Ld\n", cpu_a, cpu_b, delta); in tsc_delta()
277 int cpu_a, cpu_b; in check_tsc() local
288 for (cpu_a = 0; cpu_a < MAX_CPUS; cpu_a++) { in check_tsc()
289 if (!CPU_ISSET(cpu_a, cpus)) in check_tsc()
293 if (!CPU_ISSET(cpu_b, cpus) || cpu_a == cpu_b) in check_tsc()
296 delta = tsc_delta(cpu_a, cpu_b); in check_tsc()