Add statistics dumping support in MLPProfilingHelper.