perun.backend.psutil ==================== .. py:module:: perun.backend.psutil .. autoapi-nested-parse:: psutil backend. Attributes ---------- .. autoapisummary:: perun.backend.psutil.log Classes ------- .. autoapisummary:: perun.backend.psutil.PSUTILBackend Module Contents --------------- .. py:data:: log .. py:class:: PSUTILBackend Bases: :py:obj:`perun.backend.backend.Backend` PSUTIL Backend class. .. py:attribute:: id :type: str :value: 'psutil' .. py:attribute:: name :type: str :value: 'PSUTIL' .. py:attribute:: description :type: str :value: 'Obtain hardware data from psutil' .. py:method:: setup() Configure psutil backend. .. py:method:: close() Close backend. .. py:method:: availableSensors() -> Dict[str, Tuple] Return list of visible devices. Returns ------- Dict[str, Tuple] Dictionary with device ids and measurement unit. .. py:method:: _getCallback(device: str) -> Callable[[], numpy.number] Return measuring function for each device. .. py:method:: getSensors(deviceList: Set[str]) -> List[perun.data_model.sensor.Sensor] Return desired device objects.