You don’t. The bubbles only form once the skull is outside the body. When it gets out of the body, the gaps that used to be filled with water get filled with air.
You have to use an instruction like cpuid with rdtsc so that the TSC is not read before the loop terminates. There have been changes to the Intel docs and there are more options now:
reply