netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=417c16d540bf792e26ce43e1a2e1e05db7007842

commit 417c16d540bf792e26ce43e1a2e1e05db7007842
Author: Alastair Poole <nets...@gmail.com>
Date:   Fri Oct 2 22:26:53 2020 +0100

    ui_cpu: Display all cores regardless.
    
    There is no guarantee first n are always on. Show all. Different
    CPU behave differently. Can check flags but for now this will do.
---
 src/bin/ui/ui_cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/ui_cpu.c b/src/bin/ui/ui_cpu.c
index e742b7d..1c4c3ac 100644
--- a/src/bin/ui/ui_cpu.c
+++ b/src/bin/ui/ui_cpu.c
@@ -296,7 +296,7 @@ _graph(Ui *ui, Evas_Object *parent)
    Animate *ad = calloc(1, sizeof(Animate));
    if (!ad) return;
 
-   ad->cpu_count = system_cpu_online_count_get();
+   ad->cpu_count = system_cpu_count_get();
    if (!system_cpu_frequency_min_max_get(&ad->freq_min, &ad->freq_max))
      ad->cpu_freq = EINA_TRUE;
 

-- 


Reply via email to