|
| OperationThread (Operation *=0) |
| Default constructor with optional first Operation.
|
|
| ~OperationThread () |
| Destructor destroys all Operation instances.
|
|
void | append_operation (Operation *op) |
| Append operation to the list of operations, thread state must be Idle.
|
|
void | reserve () |
| Calls the reserve method of each Operation.
|
|
void | prepare () |
| Calls the prepare method of each Operation.
|
|
void | add_extensions (Extensions *ext) |
| Calls the add_extensions method of each Operation.
|
|
void | operation () |
| Signals the operation thread to start.
|
|
void | combine (const Operation *) |
| Calls the combine method of each Operation.
|
|
void | report () const |
| Calls the report method of each Operation.
|
|
uint64_t | bytes_storage () const override |
| The number of bytes of additional storage used by the operation.
|
|
uint64_t | bytes_scratch () const override |
| The number of bytes of scratch space used by the operation.
|
|
void | reset () |
| Calls the reset method of each Operation.
|
|
Wait * | get_wait () |
| Return a new Wait operation for this thread.
|
|
unsigned | get_nop () const |
|
Operation * | get_op (unsigned i) |
|
| Operation (const char *name) |
| All sub-classes must specify a unique name. More...
|
|
| Operation (const Operation &) |
| Copy constructor.
|
|
virtual | ~Operation () |
| Virtual destructor.
|
|
virtual bool | operate () |
| Call this method to operate on data Returns false on failure. More...
|
|
std::string | get_name () const |
| Return the unique name of this operation.
|
|
double | get_total_time () const |
| Return the total time spent on this Operation in seconds.
|
|
double | get_elapsed_time () const |
| Get the time spent in the last invocation of operate()
|
|
virtual uint64_t | get_total_weights () const |
| Return the total number of timesample weights encountered. More...
|
|
virtual uint64_t | get_discarded_weights () const |
| Return the number of invalid timesample weights encountered.
|
|
int | get_id () |
| Inquire the unique instantiation id.
|
|
virtual Function | get_function () const |
| Get the function classification of this operation.
|
|
virtual double | get_delay_time () const |
| Get the time delay of this operation, if any, in seconds.
|
|
virtual void | set_scratch (Scratch *) |
| Set the scratch space.
|
|
bool | scratch_was_set () const |
|
| OwnStream (const OwnStream &) |
|
const OwnStream & | operator= (const OwnStream &) |
|
virtual void | set_cout (std::ostream &) const |
|
virtual void | set_cerr (std::ostream &) const |
|
| Able (const Able &) |
|
Able & | operator= (const Able &) |
|
unsigned | get_reference_count () const |
|
| HeapTracked (const HeapTracked &) |
|
HeapTracked & | operator= (const HeapTracked &) |
|
bool | __is_on_heap () const |
|