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

The module is responsible for gathering BEAM statistics during benchmarking.

Link to this section Summary

Link to this section Types

Specs

context_switches_t() :: non_neg_integer()

Specs

reductions_t() :: non_neg_integer()

Specs

t() :: %Beamchmark.Suite.Measurements{
  context_switches: context_switches_t(),
  cpu_info: Beamchmark.Suite.Measurements.CpuInfo.t(),
  memory_info: Beamchmark.Suite.Measurements.MemoryInfo.t(),
  reductions: reductions_t(),
  scheduler_info: Beamchmark.Suite.Measurements.SchedulerInfo.t()
}

Link to this section Functions

Specs

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

gather(duration, cpu_interval, memory_interval)

View Source

Specs

gather(pos_integer(), pos_integer(), pos_integer()) :: t()