Quantcast
Channel: Intel® VTune™ Profiler (Intel® VTune™ Amplifier)
Viewing all articles
Browse latest Browse all 1347

Using libittnotify to track tasks across threads

$
0
0

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


Viewing all articles
Browse latest Browse all 1347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>