MCPcopy Create free account
hub / github.com/COLA-Laboratory/TransOPT / load_data

Function load_data

demo/comparison/analysis_plot.py:65–71  ·  view source on GitHub ↗
(workload, algorithm, seed)

Source from the content-addressed store, hash-verified

63 return df_combined
64
65def load_data(workload, algorithm, seed):
66 if target == "llvm":
67 result_file = llvm_results / f"llvm_{workload}" / algorithm / f"{seed}_KB.json"
68 else:
69 result_file = gcc_results_path / f"gcc_{workload}" / algorithm / f"{seed}_KB.json"
70 df = load_and_prepare_data(result_file)
71 return df
72
73def collect_all_data(workload):
74 all_data = []

Callers 4

collect_all_dataFunction · 0.70
dynamic_plotFunction · 0.70
save_individual_framesFunction · 0.70
plot_pareto_frontFunction · 0.70

Calls 1

load_and_prepare_dataFunction · 0.70

Tested by

no test coverage detected