tm_type Struct Reference
[Type]

A tm_type represents information about all tm_nodes of a specific size. More...

#include <type.h>

Collaboration diagram for tm_type:
Collaboration graph
[legend]

Data Fields

tm_list list
 All types list: tm.types.
int id
 The type id: tm.type_id.
struct tm_typehash_next
 Hash table next ptr: tm.type_hash[].
size_t size
 Size of each tm_node.
tm_list blocks
 List of blocks allocated for this type.
size_t n [tm__LAST2]
 Number of nodes, indexed by tm_color: includes tm_TOTAL, tm_B, tm_NU, tm_b, tm_b_NU stats.
tm_list color_list [tm_TOTAL]
 Lists of node by color; see tm_node.list.
struct tm_blockparcel_from_block
 The current block we are parceling from.
struct tm_adescdesc
 User-specified descriptor handle.

Detailed Description

A tm_type represents information about all tm_nodes of a specific size.

  1. How many tm_nodes of a given color exists.
  2. Lists of tm_nodes by color.
  3. Lists of tm_blocks used to parcel tm_nodes.
  4. The tm_block for initializing new nodes from.
  5. A tm_adesc user-level descriptor.

Definition at line 26 of file type.h.


Field Documentation

List of blocks allocated for this type.

Definition at line 45 of file type.h.

Referenced by _tm_block_sweep_init(), _tm_type_add_block(), tm_block_scavenge(), tm_type_init(), and tm_validate_lists().

struct tm_adesc* tm_type::desc [read]

User-specified descriptor handle.

Definition at line 57 of file type.h.

Referenced by tm_adesc_for_size(), and tm_type_init().

struct tm_type* tm_type::hash_next [read]

Hash table next ptr: tm.type_hash[].

Definition at line 39 of file type.h.

Referenced by tm_init(), tm_size_to_type_2(), tm_type_new(), and tm_type_new_2().

The type id: tm.type_id.

Definition at line 31 of file type.h.

Referenced by tm_node_iterator_next(), tm_print_block_stats(), tm_print_stats(), and tm_type_init().

All types list: tm.types.

Definition at line 28 of file type.h.

Referenced by tm_type_init().

size_t tm_type::n[tm__LAST2]

The current block we are parceling from.

Definition at line 54 of file type.h.

Referenced by _tm_node_parcel_some(), _tm_type_add_block(), _tm_type_memory_pressureQ(), _tm_type_remove_block(), and tm_type_init().

size_t tm_type::size

The documentation for this struct was generated from the following file:

Generated on Mon Jan 25 06:33:12 2010 for TM(tredmill) by  doxygen 1.6.1