/// <summary> /// Return CPU time. /// </summary> public double Cputime() { var time = GMshNativeMethods.gmshLoggerCputime(ref ierr); if (ierr != 0) { throw new GMshException(ierr); } return(time); }