More accurate profiling in multigridQuda.