Used to annotate a sequence of sections of code which would be named at runtime. More...
#include <itt.hpp>
Public Member Functions | |
TaskChain (handle_t taskHandle, std::string &&prefix) noexcept | |
Construct TaskChain with defined annotation handle. | |
~TaskChain () noexcept | |
The TaskChain destructor closes or ends the task scope. | |
void | next (handle_t taskHandle) |
Ends the previous task from the chain and starts a new one with the given annotation handle. | |
std::string | taskName () const |
std::string | taskNameOrHandle (const std::string &name) const |
handle_t | taskNameOrHandle (handle_t handle) const |
void | skip () |
Used to annotate a sequence of sections of code which would be named at runtime.
The | domain parameter is domain type which shoud be defined with OV_ITT_DOMAIN() macro. |