X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <4783B96D DOT 9060709 AT huarp DOT harvard DOT edu> <4783C3D9 DOT 6020303 AT sbcglobal DOT net> <4783CBDE DOT 8070201 AT huarp DOT harvard DOT edu> <4783D05F DOT 5030007 AT sbcglobal DOT net> Subject: RE: Does clock() work? Date: Tue, 8 Jan 2008 20:14:49 -0000 Message-ID: <006401c85233$1eece330$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4783D05F.5030007@sbcglobal.net> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 08 January 2008 19:35, Greg Chicares wrote: > [ TEST CASE ] > /tmp[0]$./clock_test > CLOCKS_PER_SEC = 1000 > clock() = 30 > gettimeofday() = 210033718 > clock() = 30 > gettimeofday() = 211033718 > clock() = 30 > gettimeofday() = 212033718 > clock() = 30 > gettimeofday() = 213033718 > clock() = 30 > gettimeofday() = 214033718 > clock() = 30 > gettimeofday() = 215033718 > clock() = 30 > gettimeofday() = 216033718 > clock() = 30 > gettimeofday() = 217033718 clock_setres might help with that. (Disclaimer: Unverified statement). cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/