I have created a simple C++ app called timeWaster. Built it using MSVC 19. This app runs fine in a command window created by Parallel Studio. (compiled using cl -EHsc -Zi timeWaster.cpp)
Sample run:
D:\Users\...\VTune\timeWaster>timeWaster64.exe
a=3.21061e+006
primeCnt=348844
11.2066 seconds
Done
Launch Vtune with admin rights.
Go to configure, select “Launch Application”, browse to the timeWaster64.exe, set working dir to same.
Toggle over to the run screen, “Basic Hotspots” selected, everything set to default. Hit start …
Up pops a command window … that stays empty (this window sticks around till killed with task master, timeWaster process still running 0% cpu).
Then within seconds of hitting start:
Intel VTune Amplifier XE 2017 has faced a serious problem
1/11/2018 6:21:45 AM Cannot open data: Intel VTune Amplifier XE 2017 has faced a serious problem.
Error 0x40000024 (No data) -- No data is collected. Possible reasons:
- Workload is too small. No samples are collected.
- The application environment is not specified correctly.
See the Troubleshooting help topic for more details.
Trouble shooting area of of no help so I am here.
So where do I start tracking this down? I have already considered dll dependencies and pruned that list down to a minimum.