How to count the number of guest instructions QEMU executed from the beginning to the end of a run?
问题 I want to benchmark guest instructions per second of QEMU to compare it with other simulators. How to obtain the guest instruction count? I'm interested both in user and full system mode. The only solutions I have now would be to log all instructions with either simple trace exec_tb or -d in_asm : How to use QEMU's simple trace backend? and then count the instructions from there. But this would likely considerably reduce simulation performance due to the output operations, so I would likely