Closed pjcunningham closed 6 months ago
Use a computed function to sort the CPU stats on the CPU node number. Returns an array like:
[ { node: 0, value: 20 }, { node: 1, value: 0 }, { node: 2, value: 0 }, { node: 3, value: 0 }, { node: 4, value: 0 }, { node: 5, value: 0 }, { node: 6, value: 0 }, { node: 7, value: 0 }, { node: 8, value: 0 }, { node: 9, value: 0 }, { node: 10, value: 10 }, { node: 11, value: 0 }, { node: 12, value: 0 }, { node: 13, value: 0 }, { node: 14, value: 0 }, { node: 15, value: 0 }, { node: 16, value: 0 }, { node: 17, value: 0 }, { node: 18, value: 0 }, { node: 19, value: 0 }, { node: 20, value: 0 }, { node: 21, value: 0 }, { node: 22, value: 0 }, { node: 23, value: 0 }, { node: 24, value: 0 }, { node: 25, value: 0 }, { node: 26, value: 0 }, { node: 27, value: 0 }, { node: 28, value: 0 }, { node: 29, value: 0 }, { node: 30, value: 0 }, { node: 31, value: 0 }, { node: 32, value: 0 } ]
Great thanks for taking the time to do a PR.
Use a computed function to sort the CPU stats on the CPU node number. Returns an array like:
[ { node: 0, value: 20 }, { node: 1, value: 0 }, { node: 2, value: 0 }, { node: 3, value: 0 }, { node: 4, value: 0 }, { node: 5, value: 0 }, { node: 6, value: 0 }, { node: 7, value: 0 }, { node: 8, value: 0 }, { node: 9, value: 0 }, { node: 10, value: 10 }, { node: 11, value: 0 }, { node: 12, value: 0 }, { node: 13, value: 0 }, { node: 14, value: 0 }, { node: 15, value: 0 }, { node: 16, value: 0 }, { node: 17, value: 0 }, { node: 18, value: 0 }, { node: 19, value: 0 }, { node: 20, value: 0 }, { node: 21, value: 0 }, { node: 22, value: 0 }, { node: 23, value: 0 }, { node: 24, value: 0 }, { node: 25, value: 0 }, { node: 26, value: 0 }, { node: 27, value: 0 }, { node: 28, value: 0 }, { node: 29, value: 0 }, { node: 30, value: 0 }, { node: 31, value: 0 }, { node: 32, value: 0 } ]