cpuset_getaffinity.2 (183464) | cpuset_getaffinity.2 (185435) |
---|---|
1.\" Copyright (c) 2008 Christian Brueffer 2.\" Copyright (c) 2008 Jeffrey Roberson 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\" Copyright (c) 2008 Christian Brueffer 2.\" Copyright (c) 2008 Jeffrey Roberson 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/lib/libc/sys/cpuset_getaffinity.2 183464 2008-09-29 15:44:48Z jhb $ | 26.\" $FreeBSD: head/lib/libc/sys/cpuset_getaffinity.2 185435 2008-11-29 14:32:14Z bz $ |
27.\" | 27.\" |
28.Dd March 29, 2008 | 28.Dd November 29, 2008 |
29.Dt CPUSET 2 30.Os 31.Sh NAME 32.Nm cpuset_getaffinity , 33.Nm cpuset_setaffinity 34.Nd manage CPU affinity 35.Sh LIBRARY 36.Lb libc --- 4 unchanged lines hidden (view full) --- 41.Fn cpuset_getaffinity "cpulevel_t level" "cpuwhich_t which" "id_t id" "size_t setsize" "cpuset_t *mask" 42.Ft int 43.Fn cpuset_setaffinity "cpulevel_t level" "cpuwhich_t which" "id_t id" "size_t setsize" "const cpuset_t *mask" 44.Sh DESCRIPTION 45.Fn cpuset_getaffinity 46and 47.Fn cpuset_setaffinity 48allow the manipulation of sets of CPUs available to processes, threads, | 29.Dt CPUSET 2 30.Os 31.Sh NAME 32.Nm cpuset_getaffinity , 33.Nm cpuset_setaffinity 34.Nd manage CPU affinity 35.Sh LIBRARY 36.Lb libc --- 4 unchanged lines hidden (view full) --- 41.Fn cpuset_getaffinity "cpulevel_t level" "cpuwhich_t which" "id_t id" "size_t setsize" "cpuset_t *mask" 42.Ft int 43.Fn cpuset_setaffinity "cpulevel_t level" "cpuwhich_t which" "id_t id" "size_t setsize" "const cpuset_t *mask" 44.Sh DESCRIPTION 45.Fn cpuset_getaffinity 46and 47.Fn cpuset_setaffinity 48allow the manipulation of sets of CPUs available to processes, threads, |
49interrupts and other resources. | 49interrupts, jails and other resources. |
50These functions may manipulate sets of CPUs that contain many processes 51or per-object anonymous masks that effect only a single object. 52.Pp 53The valid values for the 54.Fa level 55and 56.Fa which 57arguments are documented in --- 100 unchanged lines hidden --- | 50These functions may manipulate sets of CPUs that contain many processes 51or per-object anonymous masks that effect only a single object. 52.Pp 53The valid values for the 54.Fa level 55and 56.Fa which 57arguments are documented in --- 100 unchanged lines hidden --- |