Searched refs:num_switches (Results 1 – 4 of 4) sorted by relevance
101 unsigned long median, switches1, num_switches, num_overhead_switches; in main() local245 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()
624 int num_switches = ARRAY_SIZE(out_switches); in gpio_switches_monitor_device() local630 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()
967 uint64_t num_switches; in GetIdleWakeupsPerSecond() local969 return ReadProcStatusAndGetFieldAsUint64(process_, kSwitchStat, &num_switches) in GetIdleWakeupsPerSecond()970 ? CalculateIdleWakeupsPerSecond(num_switches) in GetIdleWakeupsPerSecond()
2794 int num_switches = 0; in TEST_F() local2795 SIMULATED_WAIT((num_switches = reset_selected_candidate_pair_switches()) > 0, in TEST_F()2797 EXPECT_EQ(0, num_switches); in TEST_F()