Re: [dev] [PATCH 3/3] slstatus: cpu_perc: make 100% equivalent of 1 cpu
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
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 message
: [
Message body
]
Next message
:
Kurt Van Dijck: "Re: [dev] [PATCH 3/3] slstatus: cpu_perc: make 100% equivalent of 1 cpu"
Previous message
:
Kurt Van Dijck: "[dev] [PATCH 3/3] slstatus: cpu_perc: make 100% equivalent of 1 cpu"
In reply to
:
Kurt Van Dijck: "[dev] [PATCH 3/3] slstatus: cpu_perc: make 100% equivalent of 1 cpu"
Next in thread
:
Kurt Van Dijck: "Re: [dev] [PATCH 3/3] slstatus: cpu_perc: make 100% equivalent of 1 cpu"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
This archive was generated by
hypermail 2.3.0
: Tue Sep 12 2017 - 08:48:17 CEST