Class openvino::itt::TaskChain

template<domain_t (*domain)()>
class TaskChain

Used to annotate a sequence of sections of code which would be named at runtime.

Template Parameters

Thedomain parameter is domain type which shoud be defined with OV_ITT_DOMAIN() macro.

Public Functions

inline TaskChain(handle_t taskHandle, std::string &&prefix) noexcept

Construct TaskChain with defined annotation handle.

inline ~TaskChain() noexcept

The TaskChain destructor closes or ends the task scope.

inline void next(handle_t taskHandle)

Ends the previous task from the chain and starts a new one with the given annotation handle.