Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
4826 Discussions

How to detect cpu migrations by VTune

LIU_Q_
Beginner
334 Views

How do I detect the cpu migrations of a program by VTune?

0 Kudos
1 Solution
David_A_Intel1
Employee
334 Views

You can use the Timeline Grouping to group by "Thread / H/W Context".  This will show which core the thread ran on at various times.

TimelineGrouping.PNG

View solution in original post

2 Replies
Divino_C_
New Contributor I
334 Views

I'm not sure how you can use VTune to do that, but you can use Linux Perf (assuming you are using Linux):

perf stat -e cpu-migrations -- /path/to/your/program

David_A_Intel1
Employee
335 Views

You can use the Timeline Grouping to group by "Thread / H/W Context".  This will show which core the thread ran on at various times.

TimelineGrouping.PNG

Reply