Using 1 thread for now for profiling

release/4.3a0
Richard Roberts 2013-08-01 21:57:59 +00:00
parent f1162c3263
commit afb8a9aa1b
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ namespace gtsam {
// that contains all of the roots as its children. rootsContainer also stores the remaining
// uneliminated factors passed up from the roots.
EliminationData<This> rootsContainer(0, roots_.size());
//tbb::task_scheduler_init init(1);
tbb::task_scheduler_init init(1);
treeTraversal::DepthFirstForestParallel(*this, rootsContainer, eliminationPreOrderVisitor<This>,
boost::bind(eliminationPostOrderVisitor<This>, _1, _2, function), 10);