add statprof and cProfile hooks
Added a cache hit/miss report.