In code profiler library