Otawa
0.10
|
Represents a configuration for computing cost of a BB. More...
#include <otawa/etime/Config.h>
Public Member Functions | |
Config (void) | |
Config (t::uint32 bits) | |
Config (const Config &conf) | |
t::uint32 | bits (void) const |
void | set (int n) |
void | clear (int n) |
bool | bit (int n) const |
string | toString (int n) const |
Convert config to string. More... | |
Private Attributes | |
t::uint32 | b |
Represents a configuration for computing cost of a BB.
Each bits represents the state of an event:
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by toString().
|
inline |
|
inline |
|
inline |
string Config::toString | ( | int | n | ) | const |
Convert config to string.
n | Number of bits in the configuration. |
References bit(), buf, and elm::StringBuffer::toString().
|
private |