Quantcast
Channel: Intel® VTune™ Profiler (Intel® VTune™ Amplifier)
Viewing all articles
Browse latest Browse all 1347

How to detect that user task analysis is active?

$
0
0

We would like to add user task analysis to a project. The collection in our case is best achieved using a callback registration mechanism, which has a bit of overhead, but has the advantage that the overhead could potentially zero in case no user task analysis has been requested.

To achieve this, we check the domain->flag to see if analysis is active, and only in that case register the callbacks. Unfortunately, it seems that the flag is non-zero as soon vtune is attached (regardless if user task analysis has been requested or not).

Is there a way to check from within the application if user task analysis has been requested?

Thanks!

Stephan

Thread Topic: 

Question

Viewing all articles
Browse latest Browse all 1347

Trending Articles