Class openvino::itt::ScopedRegion#
-
template<domain_t (*domain)()>
class ScopedRegion# Used to annotate region of code which would be named at runtime using RAII.
Note
Uses ITT region begin/end. At most one region is active per thread; tasks started while a region is active attach to it as their parent.
- Template Parameters:
The –
domainparameter is domain type which shoud be defined with OV_ITT_DOMAIN() macro.
Public Functions
-
inline ScopedRegion(handle_t handle) noexcept#
Construct ScopedRegion with defined annotation handle.
-
inline ~ScopedRegion() noexcept#
The ScopedRegion destructor closes or ends the region scope.