I just tried with cpu_disable_ticks() and cpu_enable_ticks(). It seems
to work partially: at least now system date and time are out of sync..
Maybe a more accurate way to do this is mimicking "stop" and "continue" monitor commands:
vm_stop(EXCP_INTERRUPT);
[SystemC simulation]
vm_start();
This just takes SystemC emulation time out of the equation. You cannot make any reliable performance measure of qemu's translated code, as already mentioned, but the former may be enough for your requirements.
Regards,
Eduardo Felipe