How to detect cpu migrations by VTune

How to detect cpu migrations by VTune

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

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

Best Reply

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.

Timeline Grouping by Thread / H/W Context

Regards,
MrAnderson

Leave a Comment

Please sign in to add a comment. Not a member? Join today