Revision: 65553
http://sourceforge.net/p/brlcad/code/65553
Author: ejno
Date: 2015-07-10 16:46:57 +0000 (Fri, 10 Jul 2015)
Log Message:
-----------
fix -- convert microseconds to milliseconds
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/bot/gct_decimation/meshdecimation.c
Modified: brlcad/trunk/src/librt/primitives/bot/gct_decimation/meshdecimation.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bot/gct_decimation/meshdecimation.c
2015-07-10 16:41:30 UTC (rev 65552)
+++ brlcad/trunk/src/librt/primitives/bot/gct_decimation/meshdecimation.c
2015-07-10 16:46:57 UTC (rev 65553)
@@ -3953,7 +3953,7 @@
mesh.maxcollapsecost = operation->decimationstrength;
/* Record start time */
- operation->msecs = bu_gettime();
+ operation->msecs = (bu_gettime() + 500) / 1000;
mesh.threadcount = threadcount;
mesh.operationflags = flags;
@@ -4142,7 +4142,7 @@
mdBarrierDestroy(&mesh.globalbarrier);
/* Store total processing time */
- operation->msecs = bu_gettime() - operation->msecs;
+ operation->msecs = ((bu_gettime() + 500) / 1000) - operation->msecs;
return 1;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits