Representation of a memory bank transition.
More...
#include <otawa/hard/Memory.h>
Representation of a memory bank transition.
- Author
- H. Cassé casse.nosp@m.@iri.nosp@m.t.fr
otawa::hard::ModeTransition::ModeTransition |
( |
void |
| ) |
|
|
inline |
Build a default transition mode with :
- latency to 1,
- power to 0,
- no destination mode.
const Mode * otawa::hard::ModeTransition::dest |
( |
void |
| ) |
const |
|
inline |
Get the destination mode of the transition.
- Returns
- Destination mode.
int otawa::hard::ModeTransition::latency |
( |
void |
| ) |
const |
|
inline |
Get the latency of the transition.
- Returns
- Transition latency (in cyles).
int otawa::hard::ModeTransition::power |
( |
void |
| ) |
const |
|
inline |
Get the power consumed by the transition.
- Returns
- Consumed power.
otawa::hard::ModeTransition::SERIALIZABLE |
( |
ModeTransition |
, |
|
|
field("latency", _latency)&field("power", _power)&field("dest", _dest) |
|
|
) |
| |
|
private |
const Mode* otawa::hard::ModeTransition::_dest |
|
private |
int otawa::hard::ModeTransition::_latency |
|
private |
int otawa::hard::ModeTransition::_power |
|
private |
The documentation for this class was generated from the following files: