eris/eris.py
def init_threshmap(args):
    """
    Initialize thresholds for other contentions for all workloads
        args - agent command line arguments
    """
    thresh_file = args.thresh_file if hasattr(args, 'thresh_file')\
        and args.thresh_file else 'thresh.csv'
    thresh_df = pd.read_csv(thresh_file)
    key = 'CID' if args.key_cid else 'CNAME'
    cids = thresh_df[key].unique()
    thresh_map = {}
    for cid in cids:
        jdata = thresh_df[thresh_df[key] == cid].sort_values('UTIL_START')
        bins = init_threshbins(jdata)
        thresh_map[cid] = bins

    if args.verbose:
        print(thresh_map)
    return thresh_map

    Initialize thresholds for other contentions for all workloads
        args - agent command line arguments
    
Initialize thresholds for other contentions for all workloads
args - agent command line arguments
Initialize thresholds for other contentions for all workloads args - agent command line arguments
def init_threshmap(args):
    thresh_file = args.thresh_file if hasattr(args, 'thresh_file')\
        and args.thresh_file else 'thresh.csv'
    thresh_df = pd.read_csv(thresh_file)
    key = 'CID' if args.key_cid else 'CNAME'
    cids = thresh_df[key].unique()
    thresh_map = {}
    for cid in cids:
        jdata = thresh_df[thresh_df[key] == cid].sort_values('UTIL_START')
        bins = init_threshbins(jdata)
        thresh_map[cid] = bins
    if args.verbose:
        print(thresh_map)
    return thresh_map
def init_threshmap ( args ) : thresh_file = args . thresh_file if hasattr ( args , 'thresh_file' ) and args . thresh_file else 'thresh.csv' thresh_df = pd . read_csv ( thresh_file ) key = 'CID' if args . key_cid else 'CNAME' cids = thresh_df [ key ] . unique ( ) thresh_map = { } for cid in cids : jdata = thresh_df [ thresh_df [ key ] == cid ] . sort_values ( 'UTIL_START' ) bins = init_threshbins ( jdata ) thresh_map [ cid ] = bins if args . verbose : print ( thresh_map ) return thresh_map
Initialize thresholds for other contentions for all workloads
args - agent command line arguments
Initialize thresholds for other contentions for all workloads args - agent command line arguments
"""
    Initialize thresholds for other contentions for all workloads
        args - agent command line arguments
    """
args