libmemstat.3 (fab4c373af4f465f03ae217f491d8cf3a3eeb26d) | libmemstat.3 (3102cfe2e21aaea969dcc5245c0b70d9ae643e34) |
---|---|
1.\" Copyright (c) 2005 Robert N. M. Watson 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $FreeBSD$ 26.\" | 1.\" Copyright (c) 2005 Robert N. M. Watson 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $FreeBSD$ 26.\" |
27.Dd July 21, 2011 | 27.Dd February 25, 2012 |
28.Dt LIBMEMSTAT 3 29.Os 30.Sh NAME 31.Nm libmemstat 32.Nd "library interface to retrieve kernel memory allocator statistics" 33.Sh LIBRARY 34.Lb libmemstat 35.Sh SYNOPSIS --- 304 unchanged lines hidden (view full) --- 340If the memory allocator supports variable size memory allocation and per-CPU 341statistics, return the size bitmask for the memory type on the CPU. 342.It Fn memstat_get_percpu_caller_pointer 343Return a caller-owned per-CPU pointer for the memory type. 344.It Fn memstat_set_percpu_caller_pointer 345Set a caller-owned per-CPU pointer for the memory type. 346.It Fn memstat_get_percpu_caller_uint64 347Return a caller-owned per-CPU integer for the memory type. | 28.Dt LIBMEMSTAT 3 29.Os 30.Sh NAME 31.Nm libmemstat 32.Nd "library interface to retrieve kernel memory allocator statistics" 33.Sh LIBRARY 34.Lb libmemstat 35.Sh SYNOPSIS --- 304 unchanged lines hidden (view full) --- 340If the memory allocator supports variable size memory allocation and per-CPU 341statistics, return the size bitmask for the memory type on the CPU. 342.It Fn memstat_get_percpu_caller_pointer 343Return a caller-owned per-CPU pointer for the memory type. 344.It Fn memstat_set_percpu_caller_pointer 345Set a caller-owned per-CPU pointer for the memory type. 346.It Fn memstat_get_percpu_caller_uint64 347Return a caller-owned per-CPU integer for the memory type. |
348.It Fn memsttat_set_percpu_caller_uint64 | 348.It Fn memstat_set_percpu_caller_uint64 |
349Set a caller-owned per-CPU integer for the memory type. 350.It Fn memstat_get_percpu_free 351If the memory allocator supports a per-CPU cache, return the number of free 352items in the per-CPU cache of the designated CPU. 353.El 354.Sh RETURN VALUES 355.Nm 356functions fall into three categories: functions returning a pointer to an --- 136 unchanged lines hidden --- | 349Set a caller-owned per-CPU integer for the memory type. 350.It Fn memstat_get_percpu_free 351If the memory allocator supports a per-CPU cache, return the number of free 352items in the per-CPU cache of the designated CPU. 353.El 354.Sh RETURN VALUES 355.Nm 356functions fall into three categories: functions returning a pointer to an --- 136 unchanged lines hidden --- |