Roman Mohr has posted comments on this change.
Change subject: sampling: add 'ncpus' property to HostSample
......................................................................
Patch Set 13:
(1 comment)
https://gerrit.ovirt.org/#/c/42035/13/vdsm/virt/sampling.py
File vdsm/virt/sampling.py:
Line 555: self._ncpus = max(os.sysconf('SC_NPROCESSORS_ONLN'), 1)
I guess even more correct, would be to store the number of CPUs always when
I meant with the creation of HostSample, not HostStats.
--
To view, visit
https://gerrit.ovirt.org/42035
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I0e7d549b7772e3f38eec2dd9b91bbc6416b549bf
Gerrit-PatchSet: 13
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani
fromani@redhat.com
Gerrit-Reviewer: Francesco Romani
fromani@redhat.com
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik
mpolednik@redhat.com
Gerrit-Reviewer: Roman Mohr
rmohr@redhat.com
Gerrit-Reviewer: Vinzenz Feenstra
vfeenstr@redhat.com
Gerrit-Reviewer: automation@ovirt.org
Gerrit-HasComments: Yes