Module Simulator.Size

type t =
| Bit of int
| Byte of int
| Kilobyte of int
| Megabyte of int
| Gigabyte of int

Type of sizes supported.

val to_bits : t -> int

Convert a given size to bits.

val to_megabytes : t -> float

Convert a given size to megabytes.