simulator: profiling events on enter/leave
simulator: profiling splitted in .h/.cc
simulator: cumulative profiling
Merge branch 'sim_profiling'