Skip to content

Conversation

@aobolensk
Copy link
Contributor

@aobolensk aobolensk commented Jul 28, 2025

Details:

  • Enable basic ITT tracing by default (introduce 3 options -DENABLE_PROFILING_ITT=OFF/BASE/FULL)
  • [CPU] Introduce usage of region tracing ITT API
  • [CPU] Align naming of the events

Tickets:

@github-actions github-actions bot added category: Core OpenVINO Core (aka ngraph) category: CPU OpenVINO CPU plugin labels Jul 28, 2025
@github-actions github-actions bot added category: build OpenVINO cmake script / infra category: samples OpenVINO Runtime Samples category: inference OpenVINO Runtime library - Inference category: dependency_changes Pull requests that update a dependency file labels Aug 25, 2025
@github-actions github-actions bot added category: CI OpenVINO public CI github_actions Pull requests that update GitHub Actions code and removed category: samples OpenVINO Runtime Samples labels Aug 27, 2025
@aobolensk aobolensk requested review from EgorDuplensky, eparshut, praasz and t-jankowski and removed request for t-jankowski October 27, 2025 13:25
CompiledModel Core::compile_model(const std::shared_ptr<const ov::Model>& model,
const std::string& device_name,
const AnyMap& config) {
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this extra "Compile model" task since we already have a region

Suggested change
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

}

CompiledModel Core::compile_model(const std::string& model_path, const AnyMap& config) {
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this extra "Compile model" task since we already have a region

Suggested change
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


#ifdef OPENVINO_ENABLE_UNICODE_PATH_SUPPORT
CompiledModel Core::compile_model(const std::wstring& model_path, const AnyMap& config) {
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this extra "Compile model" task since we already have a region

Suggested change
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

#endif

CompiledModel Core::compile_model(const std::string& model_path, const std::string& device_name, const AnyMap& config) {
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this extra "Compile model" task since we already have a region

Suggested change
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

CompiledModel Core::compile_model(const std::wstring& model_path,
const std::string& device_name,
const AnyMap& config) {
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this extra "Compile model" task since we already have a region

Suggested change
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

const ov::Tensor& weights,
const std::string& device_name,
const AnyMap& config) {
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this extra "Compile model" task since we already have a region

Suggested change
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

CompiledModel Core::compile_model(const std::shared_ptr<const ov::Model>& model,
const RemoteContext& context,
const AnyMap& config) {
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this extra "Compile model" task since we already have a region

Suggested change
OV_ITT_SCOPED_TASK_BASE(ov::itt::domains::OV, "Compile model");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@aobolensk aobolensk requested a review from eparshut October 27, 2025 15:00
Copy link

@eparshut eparshut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀 (Approved)

@EgorDuplensky EgorDuplensky removed their assignment Oct 29, 2025
@aobolensk aobolensk added this pull request to the merge queue Oct 30, 2025
Merged via the queue into openvinotoolkit:master with commit c6d55b9 Oct 30, 2025
212 checks passed
@aobolensk aobolensk deleted the itt-regions branch October 30, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: build OpenVINO cmake script / infra category: CI OpenVINO public CI category: Core OpenVINO Core (aka ngraph) category: CPU OpenVINO CPU plugin category: dependency_changes Pull requests that update a dependency file category: docs OpenVINO documentation category: inference OpenVINO Runtime library - Inference Code Freeze github_actions Pull requests that update GitHub Actions code no-match-files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants