X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..26364344e58ae9c384965ff25c6920a75c55184e:/src/common/stopwatch.cpp diff --git a/src/common/stopwatch.cpp b/src/common/stopwatch.cpp index a43b78cd2d..cb1c69a17a 100644 --- a/src/common/stopwatch.cpp +++ b/src/common/stopwatch.cpp @@ -10,7 +10,7 @@ // Created: 20.06.2003 (extracted from common/timercmn.cpp) // RCS-ID: $Id$ // Copyright: (c) 1998-2003 wxWidgets Team -// License: wxWidgets license +// 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() );