Revision: 54910
http://brlcad.svn.sourceforge.net/brlcad/?rev=54910&view=rev
Author: brlcad
Date: 2013-03-27 13:10:14 +0000 (Wed, 27 Mar 2013)
Log Message:
-----------
remove the old cray cpulimit call, didn't do anything useful anywhere else and
the func is now gone
Modified Paths:
--------------
brlcad/trunk/src/rt/do.c
Modified: brlcad/trunk/src/rt/do.c
===================================================================
--- brlcad/trunk/src/rt/do.c 2013-03-27 04:53:03 UTC (rev 54909)
+++ brlcad/trunk/src/rt/do.c 2013-03-27 13:10:14 UTC (rev 54910)
@@ -583,7 +583,6 @@
double nutime = 0.0; /* CPU time used, normalized by ncpu */
double wallclock = 0.0; /* # seconds of wall clock time */
int npix = 0; /* # of pixel values to be done */
- int lim = 0;
vect_t work, temp;
quat_t quat;
@@ -696,19 +695,6 @@
}
}
- /*
- * After the parameters for this calculation have been
- * established, deal with CPU limits and priorities, where
- * appropriate. Because limits exist, they better be adequate.
- * We assume that the Cray can produce MINRATE pixels/sec on
- * images with extreme amounts of glass & mirrors.
- */
-#define MINRATE 65
- npix = width*height*(hypersample+1);
- if ((lim = bu_cpulimit_get()) > 0) {
- bu_cpulimit_set(lim + npix / MINRATE + 100);
- }
-
/* Allocate data for pixel map for rerendering of black pixels */
if (pixmap == NULL) {
pixmap = (unsigned char*)bu_calloc(sizeof(RGBpixel), width*height,
"pixmap allocate");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits