cpuset_getaffinity.2 (233462) | cpuset_getaffinity.2 (233648) |
---|---|
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 233462 2012-03-25 12:13:24Z joel $ | 26.\" $FreeBSD: head/lib/libc/sys/cpuset_getaffinity.2 233648 2012-03-29 05:02:12Z eadler $ |
27.\" 28.Dd September 10, 2010 29.Dt CPUSET 2 30.Os 31.Sh NAME 32.Nm cpuset_getaffinity , 33.Nm cpuset_setaffinity 34.Nd manage CPU affinity --- 5 unchanged lines hidden (view full) --- 40.Ft int 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 | 27.\" 28.Dd September 10, 2010 29.Dt CPUSET 2 30.Os 31.Sh NAME 32.Nm cpuset_getaffinity , 33.Nm cpuset_setaffinity 34.Nd manage CPU affinity --- 5 unchanged lines hidden (view full) --- 40.Ft int 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, | 48allow the manipulation of sets of CPUs available to processes, threads, |
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 --- 108 unchanged lines hidden --- | 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 --- 108 unchanged lines hidden --- |