Searched refs:cpuNum (Results 1 – 2 of 2) sorted by relevance
123 opts.cpuNum = strtol(optarg, &errorCheck, 10); // 10 base in ParseOptions()151 static void LockAndRun(benchmark::State &state, benchmark_func func, int cpuNum) in LockAndRun() argument153 if (cpuNum >= 0) { in LockAndRun()156 CPU_SET(cpuNum, &cpuset); in LockAndRun()252 …ration = benchmark::RegisterBenchmark(funcName.c_str(), LockAndRun, func, opts.cpuNum)->Args(args); in RegisterSingleBenchmark()
53 int cpuNum = -1; member