MCPcopy Create free account
hub / github.com/argumentcomputer/ix / BlockProfile

Class BlockProfile

crates/kernel/src/profile.rs:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145const VERSION: u32 = 2;
146
147/// Per-block recorded statistics.
148#[derive(Clone, Debug, PartialEq, Eq)]
149pub struct BlockEntry {
150 /// Content address of the block (a `Muts` block or a standalone constant).
151 pub addr: Address,
152 /// Total recursive fuel (heartbeats) consumed checking this block's members.
153 pub heartbeats: u64,
154 /// Serialized byte length of the block (ingress cost / net weight).
155 pub serialized_size: u32,
156 /// Number of constants in the block (1 for standalone constants).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected