Post

Replies

Boosts

Views

Activity

Any option to profile JIT code with Instruments?
Hi, I would like to use the Instruments Time Profiler to profile code of an emulator project. The code is generated by a JIT compiler at runtime. Unfortunately, Instruments only displays an address and it cannot even display the disassembly of that dynamically generated code region. The solution for x86_64 is to use VTune on Windows, the VTune JIT Profiling API allows to specify code regions and give them a name (and even specify source code). Is there something like that for Instruments, too? Or any other alternatives to profile JIT code on Apple Silicon? Thanks a lot in advance! Lyve
2
0
866
Apr ’23
Any option to profile JIT code with Instruments?
Hi, I would like to use the Instruments Time Profiler to profile code of an emulator project. The code is generated by a JIT compiler at runtime. Unfortunately, Instruments only displays an address and it cannot even display the disassembly of that dynamically generated code region. The solution for x86_64 is to use VTune on Windows, the VTune JIT Profiling API allows to specify code regions and give them a name (and even specify source code). Is there something like that for Instruments, too? Or any other alternatives to profile JIT code on Apple Silicon? Thanks a lot in advance! Lyve
Replies
2
Boosts
0
Views
866
Activity
Apr ’23