Home
last modified time | relevance | path

Searched refs:num_switches (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/sched/tool/
Dtime-schedule.c101 unsigned long median, switches1, num_switches, num_overhead_switches; in main() local
245 num_switches = get_num_switches() - switches1; in main()
270 if (num_switches > 0) in main()
271 fprintf(stderr, "Num switches: %lu\n", num_switches); in main()
/external/adhd/cras/src/server/
Dcras_alsa_jack.c624 int num_switches = ARRAY_SIZE(out_switches); in gpio_switches_monitor_device() local
630 num_switches = 1; in gpio_switches_monitor_device()
633 num_switches = ARRAY_SIZE(in_switches); in gpio_switches_monitor_device()
640 for (sw = 0; (rc == 0 || rc == -EIO) && sw < num_switches; sw++) { in gpio_switches_monitor_device()
/external/libchrome/base/process/
Dprocess_metrics_linux.cc967 uint64_t num_switches; in GetIdleWakeupsPerSecond() local
969 return ReadProcStatusAndGetFieldAsUint64(process_, kSwitchStat, &num_switches) in GetIdleWakeupsPerSecond()
970 ? CalculateIdleWakeupsPerSecond(num_switches) in GetIdleWakeupsPerSecond()
/external/webrtc/p2p/base/
Dp2p_transport_channel_unittest.cc2794 int num_switches = 0; in TEST_F() local
2795 SIMULATED_WAIT((num_switches = reset_selected_candidate_pair_switches()) > 0, in TEST_F()
2797 EXPECT_EQ(0, num_switches); in TEST_F()