Home
last modified time | relevance | path

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

/system/extras/crypto-perf/
Dcrypto.cpp15 int cpu_to_lock; member
32 cmd_data->cpu_to_lock = 0; in processOptions()
38 save_value = &cmd_data->cpu_to_lock; in processOptions()
121 CPU_SET(cmd_data.cpu_to_lock, &cpuset); in main()
/system/extras/micro_bench/
Dmicro_bench.cpp60 int cpu_to_lock; member
680 cmd_data->cpu_to_lock = -1; in processOptions()
705 save_value = &cmd_data->cpu_to_lock; in processOptions()
785 bool raisePriorityAndLock(int cpu_to_lock) { in raisePriorityAndLock() argument
799 if (cpu_to_lock < 0) { in raisePriorityAndLock()
803 cpu_to_lock = i; in raisePriorityAndLock()
806 } else if (!CPU_ISSET(cpu_to_lock, &cpuset)) { in raisePriorityAndLock()
807 printf("Cpu %d does not exist.\n", cpu_to_lock); in raisePriorityAndLock()
811 if (cpu_to_lock < 0) { in raisePriorityAndLock()
817 CPU_SET(cpu_to_lock, &cpuset); in raisePriorityAndLock()
[all …]