Ruby 3.3.5p100 (2024-09-03 revision ef084cc8f4958c1b6e4ead99136631bef6d8ddba)
pm_memsize_t Struct Reference

This struct stores the information gathered by the pm_node_memsize function. More...

#include <node.h>

Data Fields

size_t memsize
 The total memory footprint of the node and all of its children.
 
size_t node_count
 The number of children the node has.
 

Detailed Description

This struct stores the information gathered by the pm_node_memsize function.

It contains both the memory footprint and additionally metadata about the shape of the tree.

Definition at line 33 of file node.h.

Field Documentation

◆ memsize

size_t pm_memsize_t::memsize

The total memory footprint of the node and all of its children.

Definition at line 35 of file node.h.

◆ node_count

size_t pm_memsize_t::node_count

The number of children the node has.

Definition at line 38 of file node.h.


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