Add a profiler for Dof