Otawa
0.10
|
Set of configurations with the same or with a maximum of time. More...
#include <otawa/etime/Config.h>
Classes | |
class | Iter |
Public Member Functions | |
ConfigSet (void) | |
ConfigSet (ot::time time) | |
ConfigSet (const ConfigSet &set) | |
ot::time | time (void) const |
int | count (void) const |
void | add (Config conf) |
void | add (const ConfigSet &set) |
void | push (const ConfigSet &set) |
void | pop (const ConfigSet &set) |
t::uint32 | posConst (void) const |
TODO. More... | |
t::uint32 | negConst (void) const |
TODO. More... | |
t::uint32 | unused (t::uint32 neg, t::uint32 pos, int n) const |
TODO. More... | |
t::uint32 | complex (t::uint32 neg, t::uint32 pos, t::uint32 unused, int n) const |
TODO. More... | |
void | scan (t::uint32 &pos, t::uint32 &neg, t::uint32 &unus, t::uint32 &comp, int n) const |
TODO. More... | |
bool | isFeasible (int n) |
Test if the configuration set is feasible. More... | |
void | dump (io::Output &out, int n) |
TODO. More... | |
Private Attributes | |
ot::time | t |
genstruct::Vector< Config > | confs |
Set of configurations with the same or with a maximum of time.
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by otawa::etime::EdgeTimeBuilder::makeSplit().
|
inline |
References confs, otawa::clp::max(), and time().
t::uint32 otawa::etime::ConfigSet::complex | ( | t::uint32 | neg, |
t::uint32 | pos, | ||
t::uint32 | unused, | ||
int | n | ||
) | const |
TODO.
Referenced by scan().
|
inline |
void otawa::etime::ConfigSet::dump | ( | io::Output & | out, |
int | n | ||
) |
TODO.
References confs.
bool otawa::etime::ConfigSet::isFeasible | ( | int | n | ) |
Test if the configuration set is feasible.
References otawa::sem::neg(), and scan().
Referenced by otawa::etime::EdgeTimeBuilder::applyFloppySplit(), otawa::etime::EdgeTimeBuilder::applyStrictSplit(), and otawa::etime::EdgeTimeBuilder::splitConfs().
t::uint32 otawa::etime::ConfigSet::negConst | ( | void | ) | const |
|
inline |
t::uint32 otawa::etime::ConfigSet::posConst | ( | void | ) | const |
|
inline |
void otawa::etime::ConfigSet::scan | ( | t::uint32 & | pos, |
t::uint32 & | neg, | ||
t::uint32 & | unus, | ||
t::uint32 & | comp, | ||
int | n | ||
) | const |
TODO.
References complex(), negConst(), posConst(), and unused().
Referenced by otawa::etime::EdgeTimeBuilder::applyFloppySplit(), otawa::etime::EdgeTimeBuilder::applyStrictSplit(), otawa::etime::EdgeTimeBuilder::applyWeightedSplit(), and isFeasible().
TODO.
References elm::genstruct::Vector< T >::add(), confs, elm::genstruct::Vector< T >::contains(), and elm::genstruct::Vector< T >::remove().
Referenced by scan().
|
private |
Referenced by add(), dump(), negConst(), pop(), posConst(), push(), and unused().
|
private |