Trait mcpat::Component [] [src]

pub trait Component {
    fn area(&self) -> f64;
    fn dynamic_power(&self) -> f64;
    fn leakage_power(&self) -> f64;
}

A component of a system on a chip.

Required Methods

fn area(&self) -> f64

Return the area (m2).

fn dynamic_power(&self) -> f64

Return the dynamic power (W).

fn leakage_power(&self) -> f64

Return the leakage power (W).

Implementors