Home
last modified time | relevance | path

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

/busybox-1.35.0/procps/
Diostat.c84 unsigned total_cpus; /* Number of CPUs */ member
113 return (G.total_cpus > 1); in this_is_smp()
128 buf, uts.machine, G.total_cpus); in print_header()
414 G.total_cpus = get_cpu_count(); in iostat_main()
415 if (G.total_cpus == 0) in iostat_main()
416 G.total_cpus = 1; in iostat_main()
Dpowertop.c78 unsigned total_cpus; member
439 n = cnt / G.total_cpus; in process_timer_stats()
713 G.total_cpus = get_cpu_count(); in powertop_main()
794 newticks = G.total_cpus * DEFAULT_SLEEP * FREQ_ACPI_1000 - totalticks; in powertop_main()
800 percentage = newticks * 100.0 / (G.total_cpus * DEFAULT_SLEEP * FREQ_ACPI_1000); in powertop_main()
810 / (G.total_cpus * DEFAULT_SLEEP * FREQ_ACPI_1000); in powertop_main()
827 totalevents = i * G.total_cpus + G.total_interrupt; in powertop_main()