Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
5258 Discussions

Using libittnotify to track tasks across threads

Stephan_T_
Beginner
659 Views

Hello,

I would like to use the user task annotation of libittnotify to track a task as it is moved between threads. In my specific case, a custom, Windows fiber-based scheduler is used, which resumes the fibers on different threads. Each task is marked with __itt_task_start and __itt_task_end on its current thread before it moves to another thread.

Yet, when inspecting the result in vtune, the task is only shown on one thread.

Is this expected? Can a single task only ever exist on the same thread? If so, what would be a good workaround for this situation?

Thanks and best regards

Stephan

0 Kudos
1 Reply
Stephan_T_
Beginner
659 Views

Ok, problem found. There was a rogue fiber switch, which did not end the task on the proper thread.

0 Kudos
Reply