WAVEWATCH III  beta 0.0.1
mallocinfo_m::mallinfo_t Type Reference

This structure type is used to return information about the dynamic memory allocator. More...

Public Attributes

integer(c_int) arena
 This is the total size of memory allocated with sbrk by malloc, in bytes. More...
 
integer(c_int) ordblks
 This is the number of chunks not in use. More...
 
integer(c_int) smblks
 This field is unused. More...
 
integer(c_int) hblks
 This is the total number of chunks allocated with mmap. More...
 
integer(c_int) hblkhd
 This is the total size of memory allocated with mmap, in bytes. More...
 
integer(c_int) usmblks
 This field is unused. More...
 
integer(c_int) fsmblks
 This field is unused. More...
 
integer(c_int) uordblks
 This is the total size of memory occupied by chunks handed out by malloc. More...
 
integer(c_int) fordblks
 This is the total size of memory occupied by free (not in use) chunks. More...
 
integer(c_int) keepcost
 This is the size of the top-most releasable chunk that normally borders the end of the heap (i.e., the high end of the virtual address space’s data segment). More...
 

Detailed Description

This structure type is used to return information about the dynamic memory allocator.

Definition at line 60 of file w3meminfo.F90.

Member Data Documentation

◆ arena

integer(c_int) mallocinfo_m::mallinfo_t::arena

This is the total size of memory allocated with sbrk by malloc, in bytes.

Definition at line 62 of file w3meminfo.F90.

62  integer(c_int) :: arena

◆ fordblks

integer(c_int) mallocinfo_m::mallinfo_t::fordblks

This is the total size of memory occupied by free (not in use) chunks.

Definition at line 78 of file w3meminfo.F90.

78  integer(c_int) :: fordblks

◆ fsmblks

integer(c_int) mallocinfo_m::mallinfo_t::fsmblks

This field is unused.

Definition at line 74 of file w3meminfo.F90.

74  integer(c_int) :: fsmblks

◆ hblkhd

integer(c_int) mallocinfo_m::mallinfo_t::hblkhd

This is the total size of memory allocated with mmap, in bytes.

Definition at line 70 of file w3meminfo.F90.

70  integer(c_int) :: hblkhd

◆ hblks

integer(c_int) mallocinfo_m::mallinfo_t::hblks

This is the total number of chunks allocated with mmap.

Definition at line 68 of file w3meminfo.F90.

68  integer(c_int) :: hblks

◆ keepcost

integer(c_int) mallocinfo_m::mallinfo_t::keepcost

This is the size of the top-most releasable chunk that normally borders the end of the heap (i.e., the high end of the virtual address space’s data segment).

Definition at line 80 of file w3meminfo.F90.

80  integer(c_int) :: keepcost

◆ ordblks

integer(c_int) mallocinfo_m::mallinfo_t::ordblks

This is the number of chunks not in use.

(The memory allocator internally gets chunks of memory from the operating system, and then carves them up to satisfy individual malloc requests; see Efficiency and Malloc.)

Definition at line 64 of file w3meminfo.F90.

64  integer(c_int) :: ordblks

◆ smblks

integer(c_int) mallocinfo_m::mallinfo_t::smblks

This field is unused.

Definition at line 66 of file w3meminfo.F90.

66  integer(c_int) :: smblks

◆ uordblks

integer(c_int) mallocinfo_m::mallinfo_t::uordblks

This is the total size of memory occupied by chunks handed out by malloc.

Definition at line 76 of file w3meminfo.F90.

76  integer(c_int) :: uordblks

◆ usmblks

integer(c_int) mallocinfo_m::mallinfo_t::usmblks

This field is unused.

Definition at line 72 of file w3meminfo.F90.

72  integer(c_int) :: usmblks