I used amplxe-gui to generate a lightweight-hotspots command line which I then used against a running processs. The resulting data did not make sense when viewed in the gui. After running for many million iterrations of the same processing for 15 minutes the data included code paths that I know are never executed.
I took the exact same command line and changed "-collect lightweight-hotspots" to "-collect hotspots" which I then used against the same running process (the process never stopped). The resulting data looked correct, viewing in the gui showed exactly what I would expect and did not include any of the non-sensical results I was seeing with "lightweight-hotspots".
Are there any known issues with using lightweight-hotspots in terms of producing the wrong results?
thanks, jon.
lightweight-hotspots data does not make sense
For more complete information about compiler optimizations, see our Optimization Notice.



