ui_cpu: poll 1/10 sec

This commit is contained in:
Alastair Poole 2020-09-08 13:07:12 +01:00
parent 6ecd5df976
commit cbb724eb6e
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ _core_times_cb(void *data, Ecore_Thread *thread)
for (int i = 0; !ecore_thread_check(thread); i = 0)
{
cores = system_cpu_usage_get(&ncpu);
cores = system_cpu_usage_delayed_get(&ncpu, 100000);
EINA_LIST_FOREACH(ui->cpu_list, l, progress)
{
*progress->value = cores[i]->percent;