Searched refs:cpu_to_lock (Results 1 – 3 of 3) sorted by relevance
74 bool LockToCPU(int cpu_to_lock) { in LockToCPU() argument78 CPU_SET(cpu_to_lock, &cpuset); in LockToCPU()81 printf("Invalid cpu %d\n", cpu_to_lock); in LockToCPU()
166 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() argument217 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()
57 int cpu_to_lock = -1; member72 bool LockToCPU(int cpu_to_lock);