Home | History | Annotate | Download | only in simpleperf

Lines Matching refs:test_cpu

233   int test_cpu;
234 if (!FindAHotpluggableCpu(&test_cpu)) {
237 CpuToggleThreadArg cpu_toggle_arg(test_cpu);
263 std::unique_ptr<EventFd> event_fd = EventFd::OpenEventFile(attr, -1, test_cpu, nullptr, false);
265 // Failed to open because the test_cpu is offline.
289 int test_cpu;
290 if (!FindAHotpluggableCpu(&test_cpu)) {
293 CpuToggleThreadArg cpu_toggle_arg(test_cpu);
319 std::unique_ptr<EventFd> event_fd = EventFd::OpenEventFile(attr, -1, test_cpu, nullptr, false);
321 // Failed to open because the test_cpu is offline.
324 // Wait a little for the event to be installed on test_cpu's perf context.
362 int test_cpu;
363 if (!FindAHotpluggableCpu(&test_cpu)) {
366 CpuToggleThreadArg cpu_toggle_arg(test_cpu);
371 cpu_spin_arg.spin_cpu = test_cpu;
405 test_cpu, nullptr, false);
407 // Failed to open because the test_cpu is offline.
424 // Check if the cpu-cycle event is still available on test_cpu.
425 if (SetCpuOnline(test_cpu, true)) {
426 ASSERT_TRUE(EventFd::OpenEventFile(attr, -1, test_cpu, nullptr, true) != nullptr);
439 int test_cpu;
440 if (!FindAHotpluggableCpu(&test_cpu)) {
451 if (!SetCpuOnline(test_cpu, true)) {
456 if (!SetCpuOnline(test_cpu, false)) {