View Source Beamchmark.Suite.Memory.MemoryTask (Beamchmark v1.4.0)

This module contains the memory benchmarking task. Measurements are performed using :erlang.memory/0

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

arg is passed as the argument to Task.start_link/1 in the :start field of the spec.

For more information, see the Supervisor module, the Supervisor.child_spec/2 function and the Supervisor.child_spec/0 type.

Link to this function

start_link(mem_interval, duration)

View Source

Specs

start_link(mem_interval :: pos_integer(), duration :: pos_integer()) :: Task.t()