-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[CPU][core] Remove OV_CPU_NODE_SCOPED_TASK* macros, reuse existing handles in Node::execute tracing #33032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
c50c120 to
d647c30
Compare
…ndles in Node::execute tracing
src/plugins/intel_cpu/src/node.cpp
Outdated
|
|
||
| void Node::execute(const dnnl::stream& strm, int numaId) { | ||
| OV_CPU_NODE_SCOPED_TASK_BASE(getTypeStr()); | ||
| OV_ITT_SCOPED_TASK_BASE(itt::domains::ov_intel_cpu, profiling.execute); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we initialize profiling.execute with a type instead of a name?
I guess we can also just bring back original logic of the macro VERBOSE_PERF_DUMP_ITT_DEBUG_LOG, which did use profiling.execute.
And just drop this one completely
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed, please, check
460fa30 to
943a49f
Compare
|
@EgorDuplensky have a look, please |
Details:
OV_CPU_NODE_SCOPED_TASK*macros creation of which could be avoidedexecuteITT handle fromPerfCountersclass in CPU graph node to traceNode::executeTickets: