pyJoules/device/rapl_device.py
def available_domains() -> List[RaplDomain]:
        """
        return a the list of the available energy domains
        """
        if not RaplDevice._rapl_api_available():
            raise NoSuchDeviceError()

        return (RaplDevice.available_package_domains() + RaplDevice.available_dram_domains() +
                RaplDevice.available_core_domains() + RaplDevice.available_uncore_domains())

        return a the list of the available energy domains
        
return a the list of the available energy domains
return a the list of the available energy domains
def available_domains() -> List[RaplDomain]:
        if not RaplDevice._rapl_api_available():
            raise NoSuchDeviceError()
        return (RaplDevice.available_package_domains() + RaplDevice.available_dram_domains() +
                RaplDevice.available_core_domains() + RaplDevice.available_uncore_domains())
def available_domains ( ) -> List [ RaplDomain ] : if not RaplDevice . _rapl_api_available ( ) : raise NoSuchDeviceError ( ) return ( RaplDevice . available_package_domains ( ) + RaplDevice . available_dram_domains ( ) + RaplDevice . available_core_domains ( ) + RaplDevice . available_uncore_domains ( ) )
return a the list of the available energy domains
return a the list of the available energy domains
"""
        return a the list of the available energy domains
        """