I’m profiling an JIT compiler with GEM5 syscall emulation mode. The lifecycle
of the JIT compiler has several phases: parsing the code, compiling the code,
setting up runtime environment, running the compiled code, and cleaning up. I
need to know the cost and some performance statistics of each phase, to find
out which part needs more optimization. So the guest program need to tell the
simulator, for example, “I have set up the runtime environment and I’m about to
run the code”. Dose gem5 provide any ways to do this? Can the guest program
communicate with the simulator by executing a special instruction, writing to a
special memory address, or making a special syscall?
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org