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.
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
Audit
| Definitions | 1 |
|---|---|
| Public names | 3 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |