[gs-cvs] rev 8689 - branches/mtrender/src
ray at ghostscript.com
ray at ghostscript.com
Thu May 1 22:31:39 PDT 2008
Author: ray
Date: 2008-05-01 22:31:39 -0700 (Thu, 01 May 2008)
New Revision: 8689
Modified:
branches/mtrender/src/imain.c
Log:
Change 'print_resource_usage' to use 'realtime' instead of 'usertime'. This
is important when threads are used since some OS's (linux) don't include
daughter thread time in the main threads 'usertime'. Other OS's (Windoze)
actually reported 'realtime', so using realtime is more consistent across
platforms.
Modified: branches/mtrender/src/imain.c
===================================================================
--- branches/mtrender/src/imain.c 2008-05-02 05:28:07 UTC (rev 8688)
+++ branches/mtrender/src/imain.c 2008-05-02 05:31:39 UTC (rev 8689)
@@ -854,7 +854,7 @@
ulong allocated = 0, used = 0;
long utime[2];
- gp_get_usertime(utime);
+ gp_get_realtime(utime);
{
int i;
More information about the gs-cvs
mailing list