X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/940b4f0741b2589ea75fa64250c5a57210e2aded..8482e4bdb9928fe9982ac214aee345b19894b39b:/src/common/stopwatch.cpp diff --git a/src/common/stopwatch.cpp b/src/common/stopwatch.cpp index c0741a2f53..cb1c69a17a 100644 --- a/src/common/stopwatch.cpp +++ b/src/common/stopwatch.cpp @@ -9,7 +9,7 @@ // Modified by: // Created: 20.06.2003 (extracted from common/timercmn.cpp) // RCS-ID: $Id$ -// Copyright: (c) 1998-2003 wxWindows Team +// Copyright: (c) 1998-2003 wxWidgets Team // License: wxWindows license /////////////////////////////////////////////////////////////////////////////// @@ -222,7 +222,7 @@ wxLongLong wxGetLocalTimeMillis() wxLongLong now( nowft.dwHighDateTime, nowft.dwLowDateTime ); // time in 100 nanoseconds return ( now - then ) / 10000.0; // time from 00:00:00 Jan 1st 1970 to now in milliseconds - + #elif defined(HAVE_GETTIMEOFDAY) struct timeval tp; if ( wxGetTimeOfDay(&tp, (struct timezone *)NULL) != -1 ) @@ -244,7 +244,7 @@ wxLongLong wxGetLocalTimeMillis() val *= tp.time; return (val + tp.millitm); #elif defined(__WXMAC__) - + static UInt64 gMilliAtStart = 0; Nanoseconds upTime = AbsoluteToNanoseconds( UpTime() );