- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is there a way VTune will present for each source code line the time it spent ?
Thanks
Sorin
Is there a way VTune will present for each source code line the time it spent ?
Thanks
Sorin
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The default setup comes as close as possible to allocating the clock ticks by source line, provided that you built the application with debugging enabled. From the hot spots view, clicking on the colored bars for the function of interest should cause Vtune to search for the source file. When the process works, it should identify the clock ticks belonging to a block of code with source lines within that block. As you haven't disclosed which architecture(s) interest you, or what problem you are seeing, I won't attempt to go further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to optimize console application (use it for simulations). I enable debug info, however when I open the source code view, I just get timing information per a whole function - not per line.
Thanks
Sorin
Thanks
Sorin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you running Sampling or Call Graph?
In Sampling, you can view samples per source line.
Call Graph collection is in function granularity.
In Sampling, you can view samples per source line.
Call Graph collection is in function granularity.
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