Francesco Romani has posted comments on this change.

Change subject: sampling: make _getCpuCoresStats a function
......................................................................


Patch Set 15:

(1 comment)

https://gerrit.ovirt.org/#/c/40429/15/vdsm/virt/sampling.py
File vdsm/virt/sampling.py:

Line 736:         ) % JIFFIES_BOUND
Line 737:         return ("%.2f" % (jiffies / interval))
Line 738: 
Line 739:     cpu_core_stats = {}
Line 740:     for node_index, numa_node in caps.getNumaTopology().iteritems():
use six here
Line 741:         cpu_cores = numa_node['cpus']
Line 742:         for cpu_core in cpu_cores:
Line 743:             core_stat = {
Line 744:                 'nodeIndex': int(node_index),


-- 
To view, visit https://gerrit.ovirt.org/40429
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If602a84096db7aa7d1a6672b84d62287e08b0ac2
Gerrit-PatchSet: 15
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Ido Barkan <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to