The MASM Forum

General => The Laboratory => Topic started by: johnsa on October 17, 2017, 02:49:58 AM

Title: CodeXL CPU profiling
Post by: johnsa on October 17, 2017, 02:49:58 AM
Hey,

Has anyone tried / or had any success using CodeXL for CPU profiling ?

I've just bought a Ryzen threadripper 1950x, and have installed the latest CodeXL x64 version 2.5.67.

The first thing that strikes me as odd is that it seems to be missing Instruction Based Sampling.
Event Based sampling appears to work, but every single column has exactly the same value in and it makes no sense at all..
Power profiling says it's unsupported (not that it's something I need).

I had great success in the past on intel kit using vtune, but for the life of me I can't make this thing produce any sense... and I'm not prepared to pay again for the crazy price Intel want for vtune etc..
Title: Re: CodeXL CPU profiling
Post by: Raistlin on October 17, 2017, 05:13:25 PM
I've just bought a Ryzen threadripper 1950x

<Raistlin cries a river - whahaaaaaa ! I also want one ! [tantrum]>

PPS: any good open/free/shareware profilers you can recommend ? vtune = $$$
Title: Re: CodeXL CPU profiling
Post by: aw27 on October 17, 2017, 06:25:02 PM
Quote from: johnsa on October 17, 2017, 02:49:58 AM
I've just bought a Ryzen threadripper 1950x
I am noticing that UASM is developing faster now  :biggrin:

Quote
I had great success in the past on intel kit using vtune, but for the life of me I can't make this thing produce any sense... and I'm not prepared to pay again for the crazy price Intel want for vtune etc..

You can roll your own  :idea: taking as a starting point this code (https://github.com/opcm/pcm) that is patronized by Intel. ;)

Title: Re: CodeXL CPU profiling
Post by: Raistlin on October 17, 2017, 06:48:19 PM
Thanks lots aw27 - seems the binaries are also available here :
https://ci.appveyor.com/project/opcm/pcm/build/artifacts
Title: Re: CodeXL CPU profiling
Post by: johnsa on October 18, 2017, 05:04:42 AM
Nice find :)

Pity it doesn't support AMD.. I will try again with CodeXL before giving up entirely on it :)