View Source Beamchmark.Suite.Measurements.MemoryInfo (Beamchmark v1.4.0)

Module representing statistics about memory usage.

Link to this section Summary

Link to this section Types

Specs

bytes_t() :: non_neg_integer()

Specs

memory_snapshot_t() :: %{
  timestamp: pos_integer(),
  total: bytes_t(),
  processes: bytes_t(),
  processes_used: bytes_t(),
  system: bytes_t(),
  atom: bytes_t(),
  atom_used: bytes_t(),
  binary: bytes_t(),
  code: bytes_t(),
  ets: bytes_t()
}

Specs

t() :: %Beamchmark.Suite.Measurements.MemoryInfo{
  average: memory_snapshot_t(),
  memory_snapshots: [memory_snapshot_t()] | nil
}

Link to this section Functions

Specs

diff(t(), t()) :: t()
Link to this function

from_memory_snapshots(memory_snapshots)

View Source

Specs

from_memory_snapshots([memory_snapshot_t()]) :: t()