Commit 132dfe95 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Set the real number of level in the tree common from the periodic algorithm

parent 8df3c39c
...@@ -67,6 +67,8 @@ public: ...@@ -67,6 +67,8 @@ public:
FAssertLF(tree, "tree cannot be null"); FAssertLF(tree, "tree cannot be null");
FAssertLF(-1 <= inUpperLevel, "inUpperLevel cannot be < -1"); FAssertLF(-1 <= inUpperLevel, "inUpperLevel cannot be < -1");
FAbstractAlgorithm::setNbLevelsInTree(extendedTreeHeight());
FLOG(FLog::Controller << "FFmmAlgorithmPeriodic\n"); FLOG(FLog::Controller << "FFmmAlgorithmPeriodic\n");
} }
......
...@@ -149,6 +149,8 @@ public: ...@@ -149,6 +149,8 @@ public:
FAssertLF(tree, "tree cannot be null"); FAssertLF(tree, "tree cannot be null");
FAssertLF(-1 <= inUpperLevel, "inUpperLevel cannot be < -1"); FAssertLF(-1 <= inUpperLevel, "inUpperLevel cannot be < -1");
FAbstractAlgorithm::setNbLevelsInTree(extendedTreeHeight());
FLOG(FLog::Controller << "FFmmAlgorithmThreadProcPeriodic\n"); FLOG(FLog::Controller << "FFmmAlgorithmThreadProcPeriodic\n");
FLOG(FLog::Controller << "Max threads = " << MaxThreads << ", Procs = " << nbProcess << ", I am " << idProcess << ".\n"); FLOG(FLog::Controller << "Max threads = " << MaxThreads << ", Procs = " << nbProcess << ", I am " << idProcess << ".\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment