tests/utils/rapl_fs.py
def fs_pkg_dram_two_socket(fs):
    """
    filesystem describing a machine with two CPU and RAPL API for package and dram
    """
    rapl_fs = RaplFS(fs)
    rapl_fs.add_domain(SOCKET_0_DIR_NAME, 'package-0', 'package_0')
    rapl_fs.add_domain(SOCKET_1_DIR_NAME, 'package-1', 'package_1')
    rapl_fs.add_domain(DRAM_0_DIR_NAME, 'dram', 'dram_0')
    rapl_fs.add_domain(DRAM_1_DIR_NAME, 'dram', 'dram_1')
    rapl_fs.reset_values()
    return rapl_fs

    filesystem describing a machine with two CPU and RAPL API for package and dram
    
filesystem describing a machine with two CPU and RAPL API for package and dram
filesystem describing a machine with two CPU and RAPL API for package and dram
def fs_pkg_dram_two_socket(fs):
    rapl_fs = RaplFS(fs)
    rapl_fs.add_domain(SOCKET_0_DIR_NAME, 'package-0', 'package_0')
    rapl_fs.add_domain(SOCKET_1_DIR_NAME, 'package-1', 'package_1')
    rapl_fs.add_domain(DRAM_0_DIR_NAME, 'dram', 'dram_0')
    rapl_fs.add_domain(DRAM_1_DIR_NAME, 'dram', 'dram_1')
    rapl_fs.reset_values()
    return rapl_fs
def fs_pkg_dram_two_socket ( fs ) : rapl_fs = RaplFS ( fs ) rapl_fs . add_domain ( SOCKET_0_DIR_NAME , 'package-0' , 'package_0' ) rapl_fs . add_domain ( SOCKET_1_DIR_NAME , 'package-1' , 'package_1' ) rapl_fs . add_domain ( DRAM_0_DIR_NAME , 'dram' , 'dram_0' ) rapl_fs . add_domain ( DRAM_1_DIR_NAME , 'dram' , 'dram_1' ) rapl_fs . reset_values ( ) return rapl_fs
filesystem describing a machine with two CPU and RAPL API for package and dram
filesystem describing a machine with two CPU and RAPL API for package and dram
"""
    filesystem describing a machine with two CPU and RAPL API for package and dram
    """
fs