Class openvino::itt::ScopedTask#
-
template<domain_t (*domain)()>
class ScopedTask# Used to annotate section of code which would be named at runtime.
Note
Uses ITT task begin/end. If a region is active on the current thread, tasks started within it are recorded as its children.
- Template Parameters:
The –
domainparameter is domain type which shoud be defined with OV_ITT_DOMAIN() macro.
Public Functions
-
inline ScopedTask(handle_t taskHandle) noexcept#
Construct ScopedTask with defined annotation handle.
-
inline ~ScopedTask() noexcept#
The ScopedTask destructor closes or ends the task scope.