pyJoules/device/rapl_device.py
def available_core_domains() -> List[RaplCoreDomain]:
        """
        return a the list of the available energy Core domains
        """
        core_domains = []
        for socket_id in RaplDevice._get_socket_id_list():
            if RaplDevice._domain_exist_on_socket(socket_id, 'core'):
                core_domains.append(RaplCoreDomain(socket_id))
        return core_domains

        return a the list of the available energy Core domains
        
return a the list of the available energy Core domains
return a the list of the available energy Core domains
def available_core_domains() -> List[RaplCoreDomain]:
        core_domains = []
        for socket_id in RaplDevice._get_socket_id_list():
            if RaplDevice._domain_exist_on_socket(socket_id, 'core'):
                core_domains.append(RaplCoreDomain(socket_id))
        return core_domains
def available_core_domains ( ) -> List [ RaplCoreDomain ] : core_domains = [ ] for socket_id in RaplDevice . _get_socket_id_list ( ) : if RaplDevice . _domain_exist_on_socket ( socket_id , 'core' ) : core_domains . append ( RaplCoreDomain ( socket_id ) ) return core_domains
return a the list of the available energy Core domains
return a the list of the available energy Core domains
"""
        return a the list of the available energy Core domains
        """