Step tuner with convenient cancelation capabilities. More...
Public Member Functions | |
| void | cancel (const Tag &t, bool from_msg=false) |
| cancel given step (identified by tag) | |
| void | cancel_all (bool from_msg=false) |
| cancel all steps | |
| template<typename Arg > | |
| int | was_canceled (const Tag &tag, Arg &) const |
| implements/overwrites step_tuner::was_canceled(...) | |
Step tuner with convenient cancelation capabilities.
Allows cancelation of individual step-instances by their tags as well as canceling all instances at once. All cancelation requests are "active" until unsafe_reset() is called (or the tuner is destructed).
To use it, you need a cancel_tuner object in your context which you pass to the constructor of the respective step_collection.
It works on distributed memory but might perform poorly if used frequently.
| Tag | tag-type |
| check_deps | if false, avoid some mechanics to handle unavailable items |
| Hasher | hash-functor for Tag, defaults to tbb::tbb_hash< Tag > |
| Equality | equality operator for Tag, defaults to std::equal_to< Tag > |
Definition at line 323 of file default_tuner.h.
1.7.6.1