Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dutil.cpp74 bool LockToCPU(int cpu_to_lock) { in LockToCPU() argument
78 CPU_SET(cpu_to_lock, &cpuset); in LockToCPU()
81 printf("Invalid cpu %d\n", cpu_to_lock); in LockToCPU()
Dbionic_benchmarks.cpp166 opts.cpu_to_lock = strtol(optarg, &check_null, 10); in ParseOpts()
216 void LockAndRun(benchmark::State& state, benchmark_func_t func_to_bench, int cpu_to_lock) { in LockAndRun() argument
217 if (cpu_to_lock >= 0) LockToCPU(cpu_to_lock); in LockAndRun()
361 if (primary_opts.cpu_to_lock >= 0) { in RegisterGoogleBenchmarks()
362 cpu_to_use = primary_opts.cpu_to_lock; in RegisterGoogleBenchmarks()
364 } else if (secondary_opts.cpu_to_lock >= 0) { in RegisterGoogleBenchmarks()
365 cpu_to_use = secondary_opts.cpu_to_lock; in RegisterGoogleBenchmarks()
452 xml_opts.cpu_to_lock = temp; in RegisterXmlBenchmarks()
Dutil.h57 int cpu_to_lock = -1; member
72 bool LockToCPU(int cpu_to_lock);