Added memory usage to the output
Added clear() method to clear the profiling data