Profiling tool: fixed error in counting calls
Profiling tool: added dotgraph drawing