Class openvino::itt::ScopedTask#
-
template<domain_t (*domain)()>
class ScopedTask# Used to annotate section of code which would be named at runtime.
- Template Parameters:
The –
domain
parameter 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.