checking whether Vtune has been attached to a process inside the code
I am successfully using Vtune Amplifier with attaching to a process feature. I was just wondering if there is any way either with ITT or any flag that I can pause the code until Vtune is attached. I know, it's doable by setting an environment variable and pausing the code until it gets set but I was looking for a cleaner approach. Thank you.