* [PATCH] Correct a typo about %P of TIMEFMT in doc
@ 2015-03-23 10:18 Han Pingtian
0 siblings, 0 replies; only message in thread
From: Han Pingtian @ 2015-03-23 10:18 UTC (permalink / raw)
To: zsh-workers
The CPU percentage was stated as being computed as "(100*%U+%S)/%E", it
should be "100*(%U+%S)/%E" actually.
---
Doc/Zsh/params.yo | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 2f78920..9d06b6a 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1445,7 +1445,7 @@ sitem(tt(%U))(CPU seconds spent in user mode.)
sitem(tt(%S))(CPU seconds spent in kernel mode.)
sitem(tt(%E))(Elapsed time in seconds.)
sitem(tt(%P))(The CPU percentage, computed as
-(100*tt(%U)PLUS()tt(%S))/tt(%E).)
+100*(tt(%U)PLUS()tt(%S))/tt(%E).)
sitem(tt(%W))(Number of times the process was swapped.)
sitem(tt(%X))(The average amount in (shared) text space used in kilobytes.)
sitem(tt(%D))(The average amount in (unshared) data/stack space used in
--
1.9.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-03-23 23:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23 10:18 [PATCH] Correct a typo about %P of TIMEFMT in doc Han Pingtian
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).