Public Member Functions | |
virtual bool | operator() (SST::Event *ev)=0 |
Protected Member Functions | |
application (trig_cpu *cpu) | |
uint32_t | floorLog2 (uint32_t n) |
Returns the floor form of binary logarithm for a 32 bit integer. | |
std::pair< int, std::vector < int > > | buildBinomialTree (int radix) |
Returns pair<int, vector<int>> containing root and children for the current process and given radix. | |
std::pair< int, std::vector < int > > | buildNaryTree (int radix) |
void | start_noise_section () |
void | end_noise_section () |
Protected Attributes | |
trig_cpu * | cpu |
int | state |
int | my_id |
int | num_nodes |
uint32_t application::floorLog2 | ( | uint32_t | n | ) | [inline, protected] |
Returns the floor form of binary logarithm for a 32 bit integer.
-1 is returned if n is 0.