# `Beamchmark.Suite.Measurements`
[🔗](https://github.com/membraneframework/beamchmark/blob/v1.4.2/lib/beamchmark/suite/measurements.ex#L1)

The module is responsible for gathering BEAM statistics during benchmarking.

# `context_switches_t`

```elixir
@type context_switches_t() :: non_neg_integer()
```

# `reductions_t`

```elixir
@type reductions_t() :: non_neg_integer()
```

# `t`

```elixir
@type 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()
}
```

# `diff`

```elixir
@spec diff(t(), t()) :: t()
```

# `gather`

```elixir
@spec gather(pos_integer(), pos_integer(), pos_integer()) :: t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
