Hyper.Firecracker.Api.BalloonStats (Hyper v0.1.0)

Copy Markdown View Source

Provides struct and type for a BalloonStats

Summary

Functions

Build a Hyper.Firecracker.Api.BalloonStats from a decoded-JSON map. Compile-time generated.

Types

t()

@type t() :: %Hyper.Firecracker.Api.BalloonStats{
  __info__: any(),
  actual_mib: integer(),
  actual_pages: integer(),
  alloc_stall: integer() | nil,
  async_reclaim: integer() | nil,
  async_scan: integer() | nil,
  available_memory: integer() | nil,
  direct_reclaim: integer() | nil,
  direct_scan: integer() | nil,
  disk_caches: integer() | nil,
  free_memory: integer() | nil,
  hugetlb_allocations: integer() | nil,
  hugetlb_failures: integer() | nil,
  major_faults: integer() | nil,
  minor_faults: integer() | nil,
  oom_kill: integer() | nil,
  swap_in: integer() | nil,
  swap_out: integer() | nil,
  target_mib: integer(),
  target_pages: integer(),
  total_memory: integer() | nil
}

Functions

decode(data)

@spec decode(term()) :: t() | nil | term()

Build a Hyper.Firecracker.Api.BalloonStats from a decoded-JSON map. Compile-time generated.