Otawa  0.10
otawa::etime::ConfigSet Class Reference

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< Configconfs
 

Detailed Description

Set of configurations with the same or with a maximum of time.

Constructor & Destructor Documentation

otawa::etime::ConfigSet::ConfigSet ( void  )
inline
otawa::etime::ConfigSet::ConfigSet ( ot::time  time)
inline
otawa::etime::ConfigSet::ConfigSet ( const ConfigSet set)
inline

Member Function Documentation

void otawa::etime::ConfigSet::add ( Config  conf)
inline
void otawa::etime::ConfigSet::add ( const ConfigSet set)
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().

int otawa::etime::ConfigSet::count ( void  ) const
inline
void otawa::etime::ConfigSet::dump ( io::Output out,
int  n 
)

TODO.

References confs.

bool otawa::etime::ConfigSet::isFeasible ( int  n)
t::uint32 otawa::etime::ConfigSet::negConst ( void  ) const

TODO.

References confs.

Referenced by scan().

t::uint32 otawa::etime::ConfigSet::posConst ( void  ) const

TODO.

References confs.

Referenced by scan().

ot::time otawa::etime::ConfigSet::time ( void  ) const
inline

Referenced by add(), and push().

t::uint32 otawa::etime::ConfigSet::unused ( t::uint32  neg,
t::uint32  pos,
int  n 
) const

Member Data Documentation

genstruct::Vector<Config> otawa::etime::ConfigSet::confs
private
ot::time otawa::etime::ConfigSet::t
private

The documentation for this class was generated from the following files: