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

Module representing different statistics about scheduler usage.

Link to this section Summary

Link to this section Types

Specs

sched_usage_t() :: %{
  required(sched_id :: integer()) =>
    {util :: float(),
     percent :: Beamchmark.Math.percent_t() | Beamchmark.Math.percent_diff_t()}
}

Specs

t() :: %Beamchmark.Suite.Measurements.SchedulerInfo{
  cpu: sched_usage_t(),
  io: sched_usage_t(),
  normal: sched_usage_t(),
  total: total_sched_usage_t(),
  total_cpu: total_sched_usage_t(),
  total_io: total_sched_usage_t(),
  total_normal: total_sched_usage_t(),
  weighted: weighted_sched_usage_t()
}

Specs

total_sched_usage_t() ::
  {util :: float(),
   percent :: Beamchmark.Math.percent_t() | Beamchmark.Math.percent_diff_t()}
Link to this type

weighted_sched_usage_t()

View Source

Specs

weighted_sched_usage_t() ::
  {util :: float(),
   percent :: Beamchmark.Math.percent_t() | Beamchmark.Math.percent_diff_t()}

Link to this section Functions

Specs

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

from_sched_util_result(sched_util_result)

View Source

Specs

from_sched_util_result(any()) :: t()