Skip to content

Commit

Permalink
fix temp file path
Browse files Browse the repository at this point in the history
  • Loading branch information
francis0407 committed Apr 26, 2022
1 parent a27a463 commit c1f89f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ cmake-build-debug
evaluation/*/*.pdf
evaluation/*/*.dat
evaluation/*/*.eps
evaluation/*/*.tmp
script/__pycache__
script/rt_dnn/__pycache__
src/reef/rpc/*
2 changes: 1 addition & 1 deletion evaluation/fig1/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def generate_plot(exe_lat, preempt_lat):
generate_plot(exe_lat, preempt_lat)

def SubplotD():
conf_file_path = "/tmp/fig1d_conf_file.json"
conf_file_path = "fig1d_conf_file.json.tmp"
frequency = [1, 10, 50, 100, 150, 200, 220, 230, 250, 300, 350]
methods = ["RESET", "STREAM"]
def prepare_config(freq):
Expand Down
2 changes: 1 addition & 1 deletion evaluation/fig13/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def SubplotB():
resource_dir = os.getenv("REEF_RESOURCE_DIR")
queue_size = [10, 100, 200, 300, 400, 500]
methods = ["reset", "wait"]
temp_file_path = "/tmp/reef_fig13_temp.json"
temp_file_path = "reef_fig13_temp.json.tmp"

jfile = open(resource_dir+"/bench_kernel/bench_kernel.json", "r")
base_json = json.loads(jfile.read())
Expand Down

0 comments on commit c1f89f2

Please sign in to comment.