- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have Amplifier Update 4, I put it up and running collecting any hardware event data and then a basic C program testing to see if iJIT_IsProfilingActive() returns iJIT_NOTHING_RUNNING all the time.
I read on this forum that ENABLE_JITPROFILING needs to be set (maybe?), but that doesn't change anything.
I simply followed the example in the documenation. I've tried that one too on my system and it doesn't do anything.
Here's the sample program with VTune running in the background:
#include
#include
int main() {
int i;
if (iJIT_IsProfilingActive() != iJIT_SAMPLING_ON) {
printf("No profilier active\\n");
}
}
I read on this forum that ENABLE_JITPROFILING needs to be set (maybe?), but that doesn't change anything.
I simply followed the example in the documenation. I've tried that one too on my system and it doesn't do anything.
Here's the sample program with VTune running in the background:
#include
#include
int main() {
int i;
if (iJIT_IsProfilingActive() != iJIT_SAMPLING_ON) {
printf("No profilier active\\n");
}
}
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was only able to replicate the behavior when the profiler was not running. The profiler is activated when performing an Intel VTune Amplifier analysis. If you run an application which utilizes the JIT Profiler API outside of VTune Amplifier analysis, the call to iJIT_IsProfilingActive() returns iJIT_NOTHING_RUNNING.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page