Bytecode Execution Timing
Hi All,
I am currently interested in bytecode execution timings, and have been playing with the JVMTI for this purpose. The JVMTI allows one to register a Single Step event with an agent in order to monitor JVM instruction completion. I was considering including a time call here to record the time of instruction completion.
Q: Is JVMTI the appropriate interface for bytecode timing?
Q: How to calculate the start time of a JVM instruction using JVMTI?
Q: What type of overhead is involved with this type of scheme?
Q: Has anyone tried to calculate bytecode execution times using any other method?
Few questions there, interested to here what you folks think.
Jonathan

