[mapguide-commits] r6351 - sandbox/adsk/2.4j/Common/MapGuideCommon/Util

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Dec 20 21:05:15 EST 2011


Author: liuar
Date: 2011-12-20 18:05:15 -0800 (Tue, 20 Dec 2011)
New Revision: 6351

Modified:
   sandbox/adsk/2.4j/Common/MapGuideCommon/Util/TimerUtil.cpp
Log:
port changeset [6350] to 2.4j branch

Modified: sandbox/adsk/2.4j/Common/MapGuideCommon/Util/TimerUtil.cpp
===================================================================
--- sandbox/adsk/2.4j/Common/MapGuideCommon/Util/TimerUtil.cpp	2011-12-21 02:02:18 UTC (rev 6350)
+++ sandbox/adsk/2.4j/Common/MapGuideCommon/Util/TimerUtil.cpp	2011-12-21 02:05:15 UTC (rev 6351)
@@ -63,7 +63,7 @@
     return count.QuadPart* (1000.0 / frequency.QuadPart);
 #else
     gettimeofday(&count, NULL);
-    return (count.tv_sec * 1000.0) + count.tv_usec;
+    return (count.tv_sec * 1000000.0) + count.tv_usec;
 #endif
 }
 



More information about the mapguide-commits mailing list