Struct hotspot::Circuit [] [src]

pub struct Circuit {
    pub cores: usize,
    pub nodes: usize,
    pub capacitance: Vec<f64>,
    pub conductance: Vec<f64>,
}

A thermal RC circuit.

Fields

cores: usize

The number of active thermal nodes (processing elements).

nodes: usize

The number of thermal nodes, which is 4 * cores + 12.

capacitance: Vec<f64>

An nodes-element vector of thermal capacitance.

conductance: Vec<f64>

An nodes-by-nodes matrix of thermal conductance.

Methods

impl Circuit
[src]

fn new(floorplan: &Path, config: &Path, params: &str) -> Result<Circuit>

Create a thermal RC circuit based on the block HotSpot model.

The result is an equivalent thermal RC circuit constructed according to the block HotSpot model for the given floorplan file, configuration file, and parameter line. The parameter line bears the same meaning as the command-line arguments of the HotSpot tool. The names of parameters should not include dashes in front of them; for instance, params can be "t_chip 0.00015 k_chip 100.0".