- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So I am testing out Intel Advisor on a code in cpp I wrote, the code consists in one cpp with main funciton inside that calls several functions from another header. I want to check where these functions are one the roofline plot. I am on windows 11 and I am building the cpp file with the -g flag. The problem here is that when I run the roofline plot with characterization and survey checked I can only see the point for the whole main function (more precisely _tmainCRTStartup) but then when I try to go deeper into the callstacks I can't see the points for the other functions. What I am thinking is that it is showing only C files but not cpp files but I am not sure. If more informations to solve this problem are needed I can share them happily.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems like 'Elapsed Time' of your loops/functions is too small. Could you please add more actual work there (not sleeps), e.g. couple loops with some compute operations inside?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I actually already tried it, I am doing something similar to a matrix multiplication with size 48K x 48K, here is the attached is the top down view I get with total time/self time/elapsed time/self elapsed time for the various functions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That looks enough from 'Elapsed Time' perspective. Have you got any other metrics as well? For Roofline chart 2 more are required - `Memory Traffic` and `FLOP/INTOP` count
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I understand it correctly, those entries are blank in my top down view, I am not sure why though since all the ticks in the characterization are selected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is the problem - have you used `--stacks` option to collect the data?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page