Otawa
0.10
|
Description of a processor pipeline. More...
#include <otawa/hard/Processor.h>
Public Member Functions | |
Processor (void) | |
virtual | ~Processor (void) |
elm::String | getArch (void) const |
elm::String | getModel (void) const |
elm::String | getBuilder (void) const |
const Table< Stage * > & | getStages (void) const |
const Table< Queue * > & | getQueues (void) const |
t::uint64 | getFrequency (void) const |
Static Public Member Functions | |
static Processor * | load (const elm::system::Path &path) throw (LoadException) |
Load a processor descriptor from the given file. More... | |
static Processor * | load (xom::Element *element) throw (LoadException) |
Load a processor description from an XML element. More... | |
Static Public Attributes | |
static const Processor | null |
Private Member Functions | |
& | FIELD (builder)&FIELD(stages)&FIELD(queues)&FIELD(frequency)) |
Private Attributes | |
elm::String | arch |
elm::String | model |
elm::String | builder |
AllocatedTable< Stage * > | stages |
AllocatedTable< Queue * > | queues |
t::uint64 | frequency |
Friends | |
class | ProcessorBuilder |
Description of a processor pipeline.
A pipeline is viewed as a collection of stages (otawa::hard::Stage) separated by instructions queues (otawa::hard::Queue).
|
inline |
|
inlinevirtual |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by otawa::Microprocessor< N >::Microprocessor(), and otawa::ParExeProc::ParExeProc().
Referenced by otawa::Microprocessor< N >::Microprocessor(), and otawa::ParExeProc::ParExeProc().
|
static |
Load a processor descriptor from the given file.
path | Path to the file. |
LoadException | Thrown if an error is found. |
References cerr, elm::serial2::XOMUnserializer::flush(), and elm::MessageException::message().
Referenced by otawa::hard::Platform::loadProcessor().
|
static |
Load a processor description from an XML element.
element | XML element to load from. |
LoadException | Thrown if an error is found. |
References elm::serial2::XOMUnserializer::flush(), and elm::Exception::message().
|
friend |
|
private |
Referenced by otawa::hard::ProcessorBuilder::arch().
|
private |
Referenced by otawa::hard::ProcessorBuilder::builder().
|
private |
Referenced by otawa::hard::ProcessorBuilder::frequency().
|
private |
Referenced by otawa::hard::ProcessorBuilder::ProcessorBuilder().
|
static |
Referenced by otawa::GraphBBTime< G >::processWorkSpace().
|
private |
Referenced by otawa::hard::ProcessorBuilder::complete().
|
private |
Referenced by otawa::hard::ProcessorBuilder::complete().