GNOME Bugzilla – Bug 668420
Request for CPU frequency scaling information
Last modified: 2018-01-10 19:49:18 UTC
Currently libgtop supports getting the CPU usage for each CPU, but we can not get any information about the frequency it's measured at. E.g. many CPUs support frequency scaling (most laptop CPUs do), and 100% CPU usage at 800 Mhz is 50% CPU usage at 1600 Mhz. To properly identify the correct CPU usage, the cpu information should also return per-CPU frequency in the glibtop_cpu struct. E.g. on linux this would mean adding the cpuinfo_max_freq, cpuinfo_min_freq and cpuinfo_cur_freq fields, with the corresponding values from /sys/devices/system/cpu/cpuX/cpufreq/ (where X is the number of the CPU)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgtop/issues/24.