Revision: 73065
http://sourceforge.net/p/brlcad/code/73065
Author: starseeker
Date: 2019-05-14 14:53:45 +0000 (Tue, 14 May 2019)
Log Message:
-----------
Make a note to see about removing the parallel throttling in the rt cache
testing via bu_debug ala the libbu semaphore unit test.
Modified Paths:
--------------
brlcad/trunk/src/librt/tests/cache.cxx
Modified: brlcad/trunk/src/librt/tests/cache.cxx
===================================================================
--- brlcad/trunk/src/librt/tests/cache.cxx 2019-05-14 14:39:31 UTC (rev
73064)
+++ brlcad/trunk/src/librt/tests/cache.cxx 2019-05-14 14:53:45 UTC (rev
73065)
@@ -565,6 +565,11 @@
if (test_num > 19 && ac >= 3) {
sscanf(av[2], "%ld", &subprocess_cnt);
+
+ // TODO - see if we can use the bu_debug |= BU_DEBUG_PARALLEL trick from
+ // the libbu semaphore.c unit test to push this harder... - we may not
+ // need to be capped at the CPU count
+
if (subprocess_cnt > (long int)maxcpus) {
bu_log("Requested %ld subprocesses, but only %zd CPUs available -
throttling to %zd\n", subprocess_cnt, maxcpus, maxcpus);
subprocess_cnt = (long int)maxcpus;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits