Community
Participate
Working Groups
In the case where there are multiple CPUs being shown in the visualizer, the computation that figures-out the required size of the cores that fits in a CPU uses the total number of cores instead of the number of cores per CPU. This results in the cores being displayed smaller than they should. For example, see attached screenshot where a (simulated) system with 4 CPU each having 4 cores is shown in the visualizer. Notice that the size of the cores would be ok if all 16 were to be shown inside a single CPU.
Created attachment 224443 [details] screenshot showing problem
The proposed fix is to take the number of CPUs into account when calculating the size of the cores to display. Also, it was necessary to prevent that code to be reached before the model is build, since it would result in a division by zero. Here is the proposed patch: https://git.eclipse.org/r/9110
Created attachment 224444 [details] Same visualizer screenshot after applying fix
Hi William, Thanks for the quick review. I have updated the patch to take your suggestion into account. Regards, Marc
Hi william, Thanks for the quick review. I have updated the patch to take your comment into consideration. Regards, Marc
w/r to the patch submitted in this bug, I declare the following: 1) that I am authorized to submit this code change 2) that the code is 100% my own work
Change has been committed, setting to resolved/fixed.