Re: [dev] [PATCH 3/3] slstatus: cpu_perc: make 100% equivalent of 1 cpu

From: isabella parakiss <izaberina_AT_gmail.com>
Date: Tue, 12 Sep 2017 08:43:00 +0200

> - return bprintf("%d", perc);
> + return bprintf("%d", (ncpu?:1)*perc);

?:
?:
?:
?:
?:

https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html
Received on Tue Sep 12 2017 - 08:43:00 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 12 2017 - 08:48:17 CEST