コード例 #1
0
        /// <summary>
        /// Return CPU time.
        /// </summary>
        public double Cputime()
        {
            var time = GMshNativeMethods.gmshLoggerCputime(ref ierr);

            if (ierr != 0)
            {
                throw new GMshException(ierr);
            }
            return(time);
        }