Make remaining number literals use uppercase

This commit is contained in:
Benny Baumann
2020-12-20 17:17:51 +01:00
parent 5fa1c7040d
commit 4a73e80338
2 changed files with 2 additions and 2 deletions

View File

@ -1371,7 +1371,7 @@ static bool LinuxProcessList_recurseProcTree(LinuxProcessList* this, openat_arg_
}
/* period might be 0 after system sleep */
float percent_cpu = (period < 1e-6) ? 0.0F : ((lp->utime + lp->stime - lasttimes) / period * 100.0);
float percent_cpu = (period < 1E-6) ? 0.0F : ((lp->utime + lp->stime - lasttimes) / period * 100.0);
proc->percent_cpu = CLAMP(percent_cpu, 0.0F, cpus * 100.0F);
proc->percent_mem = proc->m_resident / (double)(pl->totalMem) * 100.0;