

def __init__(self, id, cpu, state, time):
    'Structure for information about guest vcpus.\n\n        :param id: The virtual cpu number\n        :param cpu: The host cpu currently associated\n        :param state: The running state of the vcpu (0 offline, 1 running, 2\n                      blocked on resource)\n        :param time: The cpu time used in nanoseconds\n        '
    self.id = id
    self.cpu = cpu
    self.state = state
    self.time = time

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/guest.py VCPUInfo.__init__/original