Add trap profiling
commite912a6be4ef0a6248e5b00afae4bf52a16d2de9e
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 15 Jan 2009 23:59:54 +0000 (16 00:59 +0100)
committerGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 16 Jan 2009 00:13:08 +0000 (16 01:13 +0100)
treead0f6bcf7c17df6715dd42f75a14d0e0a6b96966
parent0c34e60075dde0e95472296a473a2e2a92296c1f
Add trap profiling

Simple per-trap profiling collects cumulative time in each trap and counts
trap occurrences. To enable #define JEM_PROFILE in interp_jem.c.
src/hooks.c
src/interp/engine/interp_jem.c