Added basic profiling for allocator