Type Definition near_primitives_core::profile::ProfileData[][src]

type ProfileData = FixedArray<u64>;

Profile of gas consumption.

Implementations

impl ProfileData[src]

pub fn new() -> Self[src]

pub fn all_gas(&self) -> Gas[src]

pub fn add_action_cost(&self, action: ActionCosts, value: u64)[src]

pub fn get_action_cost(&self, action: usize) -> u64[src]

pub fn get_ext_cost(&self, ext: usize) -> u64[src]

pub fn add_ext_cost(&self, ext: ExtCosts, value: u64)[src]

pub fn host_gas(&self) -> u64[src]

pub fn action_gas(&self) -> u64[src]

pub fn wasm_gas(&self) -> u64[src]

pub fn unaccounted_gas(&self) -> u64[src]

pub fn set_burnt_gas(&self, burnt_gas: u64)[src]

Trait Implementations

impl Debug for ProfileData[src]