Skip to documentation
SLOP

tiny.machine.Geometry

Reference tiny.machine Geometry

Defined in profile.types.

The memory geometry a contract fixes gives how many vCPUs run, the page size, the base address, and the number of bytes, so a caller can check its own memory layout before constructing an instance.

API (4)

Fields and members

Public fields and members.

No direct callersNo direct callsprofile.typesGeometry
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/machine/src/profile/types.zig:80

zig
/// The memory geometry a contract fixes gives how many vCPUs run, the page size,/// the base address, and the number of bytes, so a caller can check its own memory/// layout before constructing an instance. Every canonical profile fixes one vCPU,/// a RAM base of zero, and 67,108,864 RAM bytes.pub const Geometry = struct {    vcpu_count: u16,    page_bytes: u32,    ram_base: u64,    ram_bytes: u64,};

Source: lib/machine/src/root.zig:91

zig
pub const Geometry = profile.Geometry;

Also reachable as

profile.Geometry.

Audit

Definitions1
Public names3
Members4
Version26.7.0
Revisiondaab053ee433