__ppc_set_ppr_med.3: Various minor tweaks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-08-06 14:31:27 +02:00
parent 457c4b3476
commit d83d1e1cf9
1 changed files with 17 additions and 29 deletions

View File

@ -22,9 +22,6 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
.\" Process this file with
.\" groff -man -Tascii foo.1
.\"
.TH __PPC_SET_PPR_MED 3 2015-08-05 "GNU C Library" "Linux\
Programmer's Manual"
.SH NAME
@ -39,41 +36,30 @@ Set the Program Priority Register
.br
.B void __ppc_set_ppr_med_low(void);
.SH DESCRIPTION
The functions
.BR __ppc_set_ppr_med (),
.BR __ppc_set_ppr_low ()
and
.BR __ppc_set_ppr_med_low ()
provide access to the
These functions provide access to the
.I Program Priority Register
(PPR).
(PPR) on the Power architecture.
.P
The PPR is a 64-bit register that controls the program's priority.
By adjusting the PPR value the programmer may improve system
throughput by causing the system resources to be used more
throughput by causing system resources to be used more
efficiently, especially in contention situations.
The three unprivileged states available are covered by the functions
.BR __ppc_set_ppr_med (),
.BR __ppc_set_ppr_low ()
and
.BR __ppc_set_ppr_med_low ().
More information available in Power ISA 2.06b - Book II - Section 3.1.
.P
The three unprivileged states available are covered by the following functions:
.IP * 3
.BR __ppc_set_ppr_med ()
sets the Program Priority Register to medium value (default).
.P
sets the Program Priority Register value to
.IR medium
(default).
.IP *
.BR __ppc_set_ppr_low ()
sets the Program Priority Register to low value.
.P
sets the Program Priority Register value to
.IR low .
.IP *
.BR __ppc_set_ppr_med_low ()
sets the Program Priority Register to medium low value.
sets the Program Priority Register value to
.IR "medium low" .
.SH VERSIONS
GNU C Library added support for
.BR __ppc_set_ppr_med (),
.BR __ppc_set_ppr_low ()
and
.BR __ppc_set_ppr_med_low ()
in version 2.18.
These functions first appeared in glibc in version 2.18.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
@ -94,3 +80,5 @@ T} Thread safety MT-Safe
These functions are nonstandard GNU extensions.
.SH SEE ALSO
.BR __ppc_yield (3)
.IR "Power ISA, Book\ II - Section\ 3.1 (Program Priority Registers)"