Searched refs:num_switches (Results 1 – 3 of 3) 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()
652 int num_switches = ARRAY_SIZE(out_switches); in gpio_switches_monitor_device() local658 num_switches = 1; in gpio_switches_monitor_device()662 num_switches = ARRAY_SIZE(in_switches); in gpio_switches_monitor_device()670 && 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()