Home
last modified time | relevance | path

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

/base/startup/init/test/benchmark/
Dbenchmark_fwk.cpp123 opts.cpuNum = strtol(optarg, &errorCheck, 10); // 10 base in ParseOptions()
151 static void LockAndRun(benchmark::State &state, benchmark_func func, int cpuNum) in LockAndRun() argument
153 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()
Dbenchmark_fwk.h53 int cpuNum = -1; member