buildtest.tools.cpu

Module Contents

Functions

_bits_from_str(mask_s)

Return the set bits from a string representing a bit array.

_str_from_bits(bits)

Return a string representation of a bit array with bits set.

_sysfs_topo()

_sysctl_topo()

cpuinfo()

Return CPU information using archspec and psutil library

buildtest.tools.cpu._bits_from_str(mask_s)[source]

Return the set bits from a string representing a bit array.

buildtest.tools.cpu._str_from_bits(bits)[source]

Return a string representation of a bit array with bits set.

buildtest.tools.cpu._sysfs_topo()[source]
buildtest.tools.cpu._sysctl_topo()[source]
buildtest.tools.cpu.cpuinfo()[source]

Return CPU information using archspec and psutil library