summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-12-20 17:17:51 +0100
committerBenny Baumann <BenBE@geshi.org>2020-12-20 17:17:51 +0100
commit4a73e803389abf92018252411ebbb2f2d1661aab (patch)
treeffc02915d3f847ce5542ffad0411db9f8b82559b /linux
parent5fa1c7040d0d86c99cb7efb210610ad8e973e546 (diff)
Make remaining number literals use uppercase
Diffstat (limited to 'linux')
-rw-r--r--linux/LinuxProcessList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c
index 39215779..f142d0e6 100644
--- a/linux/LinuxProcessList.c
+++ b/linux/LinuxProcessList.c
@@ -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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy