tests/utils/rapl_fs.py
def fs_pkg_dram_uncore_one_socket(fs):
    """
    filesystem describing a machine with one CPU and RAPL API for package dram and core
    """
    rapl_fs = RaplFS(fs)
    rapl_fs.add_domain(SOCKET_0_DIR_NAME, 'package-0', 'package_0')
    rapl_fs.add_domain(DRAM_0_DIR_NAME, 'dram', 'dram_0')
    rapl_fs.add_domain(CORE_0_DIR_NAME, 'uncore', 'uncore_0')
    rapl_fs.reset_values()
    return rapl_fs

    filesystem describing a machine with one CPU and RAPL API for package dram and core
    
filesystem describing a machine with one CPU and RAPL API for package dram and core
filesystem describing a machine with one CPU and RAPL API for package dram and core
def fs_pkg_dram_uncore_one_socket(fs):
    rapl_fs = RaplFS(fs)
    rapl_fs.add_domain(SOCKET_0_DIR_NAME, 'package-0', 'package_0')
    rapl_fs.add_domain(DRAM_0_DIR_NAME, 'dram', 'dram_0')
    rapl_fs.add_domain(CORE_0_DIR_NAME, 'uncore', 'uncore_0')
    rapl_fs.reset_values()
    return rapl_fs
def fs_pkg_dram_uncore_one_socket ( fs ) : rapl_fs = RaplFS ( fs ) rapl_fs . add_domain ( SOCKET_0_DIR_NAME , 'package-0' , 'package_0' ) rapl_fs . add_domain ( DRAM_0_DIR_NAME , 'dram' , 'dram_0' ) rapl_fs . add_domain ( CORE_0_DIR_NAME , 'uncore' , 'uncore_0' ) rapl_fs . reset_values ( ) return rapl_fs
filesystem describing a machine with one CPU and RAPL API for package dram and core
filesystem describing a machine with one CPU and RAPL API for package dram and core
"""
    filesystem describing a machine with one CPU and RAPL API for package dram and core
    """
fs