eris/eris.py
def init_threshbins(jdata):
    """
    Initialize thresholds in all bins for one workload
        jdata - thresholds data for one workload
    """
    key_mappings = [
        ('util_start', 'UTIL_START'),
        ('util_end', 'UTIL_END'),
        ('cpi', 'CPI_THRESH'),
        ('mpki', 'MPKI_THRESH'),
        ('mb', 'MB_THRESH'),
        ('l2spki', 'L2SPKI_THRESH'),
        ('mspki', 'MSPKI_THRESH'),
    ]
    return [
        {
            from_key: row_tuple[1][to_key]
            for from_key, to_key in key_mappings
        }
        for row_tuple in jdata.iterrows()
    ]

    Initialize thresholds in all bins for one workload
        jdata - thresholds data for one workload
    
Initialize thresholds in all bins for one workload
jdata - thresholds data for one workload
Initialize thresholds in all bins for one workload jdata - thresholds data for one workload
def init_threshbins(jdata):
    key_mappings = [
        ('util_start', 'UTIL_START'),
        ('util_end', 'UTIL_END'),
        ('cpi', 'CPI_THRESH'),
        ('mpki', 'MPKI_THRESH'),
        ('mb', 'MB_THRESH'),
        ('l2spki', 'L2SPKI_THRESH'),
        ('mspki', 'MSPKI_THRESH'),
    ]
    return [
        {
            from_key: row_tuple[1][to_key]
            for from_key, to_key in key_mappings
        }
        for row_tuple in jdata.iterrows()
    ]
def init_threshbins ( jdata ) : key_mappings = [ ( 'util_start' , 'UTIL_START' ) , ( 'util_end' , 'UTIL_END' ) , ( 'cpi' , 'CPI_THRESH' ) , ( 'mpki' , 'MPKI_THRESH' ) , ( 'mb' , 'MB_THRESH' ) , ( 'l2spki' , 'L2SPKI_THRESH' ) , ( 'mspki' , 'MSPKI_THRESH' ) , ] return [ { from_key : row_tuple [ 1 ] [ to_key ] for from_key , to_key in key_mappings } for row_tuple in jdata . iterrows ( ) ]
Initialize thresholds in all bins for one workload
jdata - thresholds data for one workload
Initialize thresholds in all bins for one workload jdata - thresholds data for one workload
"""
    Initialize thresholds in all bins for one workload
        jdata - thresholds data for one workload
    """
jdata