Struct mcpat::System [] [src]

pub struct System {
    // some fields omitted
}

A system on a chip.

Methods

impl System
[src]

fn open<T: AsRef<Path>>(path: T) -> Result<System>

Load a system from a file.

The file is a configuration file of McPAT.

fn compute<'l>(&'l self) -> Result<Processor<'l>>

Perform optimization and produce an instance of the system.

fn raw(&self) -> &root_system

Return the raw specification of the system.

Trait Implementations

impl Drop for System
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more