← Back
BEAM Dashboard
[intermediate]Live dashboard of the VM rendering it: schedulers, memory, events
Live dashboard of the VM rendering it: schedulers, memory, events
For the full interactive experience:
$ mix raxol.playground
Code
:tick ->
curr = :erlang.statistics(:scheduler_wall_time) |> Enum.sort()
utils =
Enum.zip(model.sched_prev, curr)
|> Enum.map(fn {{_id, a1, t1}, {_id2, a2, t2}} ->
dt = t2 - t1
if dt > 0, do: round((a2 - a1) / dt * 100), else: 0
end)