Revert "Added profiling functions."

This reverts commit d510e2d1c30c8867f13a27a453d868aeec3acf4e.