View Source Beamchmark.Formatters.Utils (Beamchmark v1.4.0)

The module provides functions common for multiple formatters.

Link to this section Summary

Functions

Takes memory in bytes and returns it as human-readable string.

Link to this section Functions

Link to this function

format_memory(mem, decimal_places \\ 0)

View Source

Specs

format_memory(integer() | :unknown, non_neg_integer()) :: String.t()

Takes memory in bytes and returns it as human-readable string.