def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.pqos = Pqos()
def __init__(self): self.pqos = Pqos()
def __init__(self, *args, **kwargs): super(CPqosMonData, self).__init__(*args, **kwargs) self.pqos = Pqos()
def __init__(self): "Initializes capabilities, calls pqos_cap_get." self.pqos = Pqos() self.p_cap = ctypes.POINTER(CPqosCap)() ret = self.pqos.lib.pqos_cap_get(ctypes.byref(self.p_cap), None) pqos_handle_error(u'pqos_cap_get', ret)
def __init__(self): self.pqos = Pqos() self.p_cpu = ctypes.POINTER(CPqosCpuInfo)() ret = self.pqos.lib.pqos_cap_get(None, ctypes.byref(self.p_cpu)) pqos_handle_error(u'pqos_cap_get', ret)