grigory-rechistov / interpreters-comparison

Sample programs for comparison of different VM interpretation techniques
BSD 3-Clause "New" or "Revised" License
27 stars 9 forks source link

Add guest PC values statistics collection and display #13

Open grigory-rechistov opened 8 years ago

grigory-rechistov commented 8 years ago

Add a mechanism to count how often the simulated CPU visits different program addresses by counting PC register values.

Requirements for a solution

*It can be implemented in a generic manner to support all variants of interpreters

After the implementation is ready, it will be nice to compare performance of two builds - interpreter with stats enabled and disabled, to see the performance overhead such collection creates.

ivanyshenko commented 8 years ago

I'l take it

grigory-rechistov commented 8 years ago

Not done