3 ms·
If you're recompiling, you just add code to keep track of how many guest instructions you've retired. It's similar to the kind of profiling code that multi sta
by monocasa 8y ago
If you're recompiling, you just add code to keep track of how many guest instructions you've retired. It's similar to the kind of profiling code that multi stage JIT would use. You can also just interrupt a thread after some time has passed, but that tends to fall apart in my experience.