- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, problem found. There was a rogue fiber switch, which did not end the task on the proper thread.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page