OpenVINO 2022.1 has introduced OpenVINO API 2.0. For more information on transition steps from the previous API, see the transition guide
Used to annotate section of code which would be named at runtime.
The – domain parameter is domain type which shoud be defined with OV_ITT_DOMAIN() macro.
Construct ScopedTask with defined annotation handle.
The ScopedTask destructor closes or ends the task scope.