visualization_utils/plotting-ying.py [2624:2668]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        combined_area_power_in_isolation.append((combined_power_area_tuple[0],combined_power_area_tuple[1]))
        combined_area_power_in_isolation_with_sys_char.append({(combined_power_area_tuple[0],combined_power_area_tuple[1]): combined_sys_chars})

        #if len(combined_area_power_in_isolation)%100000 == 0:
        #    print("time passed is" + str(time.time()-s))

    combined_area_power_in_isolation_filtered = []
    for point in combined_area_power_in_isolation:
        if not points_exceed_one_of_the_budgets(point, base_budgets, budget_scale_to_consider):
            combined_area_power_in_isolation_filtered.append(point)
    combined_area_power_pareto = find_pareto_points(list(set(combined_area_power_in_isolation_filtered)))


    all_points_cross_workloads_filtered = []
    for point in all_points_cross_workloads:
        if not points_exceed_one_of_the_budgets(point, base_budgets, budget_scale_to_consider):
            all_points_cross_workloads_filtered.append(point)
    all_points_cross_workloads_area_power_pareto = find_pareto_points(list(set(all_points_cross_workloads_filtered)))


    # prepare for plotting and plot
    fig = plt.figure(figsize=(12, 12))
    #plt.rc('font', **axis_font)
    ax = fig.add_subplot(111)
    fontSize = 20

    x_values = [el[0] for el in combined_area_power_in_isolation_filtered]
    y_values = [el[1] for el in combined_area_power_in_isolation_filtered]
    x_values.reverse()
    y_values.reverse()
    ax.scatter(x_values, y_values, label="isolated design methodology",marker=".")


    # plt.tight_layout()
    x_values = [el[0] for el in combined_area_power_pareto]
    y_values = [el[1] for el in combined_area_power_pareto]
    x_values.reverse()
    y_values.reverse()
    ax.scatter(x_values, y_values, label="isolated design methodology pareto front",marker="x")
    for idx, _ in enumerate(x_values) :
        power= x_values[idx]
        area = y_values[idx]
        sys_char = find_sys_char(power, area, combined_area_power_in_isolation_with_sys_char)
        value_to_show = 0
        value_to_show  = sys_char[system_char_to_show[0]]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



visualization_utils/plotting.py [3818:3863]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        combined_area_power_in_isolation.append((combined_power_area_tuple[0],combined_power_area_tuple[1]))
        combined_area_power_in_isolation_with_sys_char.append({(combined_power_area_tuple[0],combined_power_area_tuple[1]): combined_sys_chars})

        #if len(combined_area_power_in_isolation)%100000 == 0:
        #    print("time passed is" + str(time.time()-s))

    combined_area_power_in_isolation_filtered = []
    for point in combined_area_power_in_isolation:
        if not points_exceed_one_of_the_budgets(point, base_budgets, budget_scale_to_consider):
            combined_area_power_in_isolation_filtered.append(point)
    combined_area_power_pareto = find_pareto_points(list(set(combined_area_power_in_isolation_filtered)))


    all_points_cross_workloads_filtered = []
    for point in all_points_cross_workloads:
        if not points_exceed_one_of_the_budgets(point, base_budgets, budget_scale_to_consider):
            all_points_cross_workloads_filtered.append(point)
    all_points_cross_workloads_area_power_pareto = find_pareto_points(list(set(all_points_cross_workloads_filtered)))


    # prepare for plotting and plot
    fig = plt.figure(figsize=(12, 12))
    #plt.rc('font', **axis_font)
    ax = fig.add_subplot(111)
    fontSize = 20

    x_values = [el[0] for el in combined_area_power_in_isolation_filtered]
    y_values = [el[1] for el in combined_area_power_in_isolation_filtered]
    x_values.reverse()
    y_values.reverse()
    ax.scatter(x_values, y_values, label="isolated design methodology",marker=".")


    # plt.tight_layout()
    x_values = [el[0] for el in combined_area_power_pareto]
    y_values = [el[1] for el in combined_area_power_pareto]
    x_values.reverse()
    y_values.reverse()
    ax.scatter(x_values, y_values, label="isolated design methodology pareto front",marker="x")
    for idx, _ in enumerate(x_values) :
        power= x_values[idx]
        area = y_values[idx]
        sys_char = find_sys_char(power, area, combined_area_power_in_isolation_with_sys_char)

        value_to_show = 0
        value_to_show  = sys_char[system_char_to_show[0]]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



