Skip to content

Commit

Permalink
rename a lot
Browse files Browse the repository at this point in the history
  • Loading branch information
yangminz committed May 27, 2021
1 parent 1b543af commit 4475e50
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,18 @@ def build(key):
"-Wall", "-g", "-O0", "-Werror", "-std=gnu99", "-Wno-unused-but-set-variable",
"-I", "./src",
# "-DDEBUG",
"./src/hardware/cpu/mesi.c",
"./src/mains/mesi.c",
"-o", "./bin/mesi"
],
],
"tshare" : [
"false_sharing" : [
[
"/usr/bin/gcc-7",
"-Wall", "-g", "-O0", "-Werror", "-std=gnu99", "-Wno-unused-but-set-variable", "-Wno-unused-variable",
"-I", "./src",
"-pthread",
"./src/mains/test_tshare.c",
"-o", "./bin/thread_sharing"
"./src/mains/false_sharing.c",
"-o", "./bin/false_sharing"
],
],
}
Expand All @@ -234,7 +234,7 @@ def run(key):
KEY_LINKER : [EXE_BIN_LINKER],
"dll" : ["./bin/link", "main", "sum", "-o", "output"],
"mesi" : ["./bin/mesi"],
"tshare" : ["./bin/thread_sharing"],
"false_sharing" : ["./bin/false_sharing"],
}
if not key in bin_map:
print("input the correct binary key:", bin_map.keys())
Expand Down Expand Up @@ -295,7 +295,7 @@ def cache_verify():
# thus we start a new process
a = [
"/usr/bin/python3",
"./src/hardware/cpu/cache_verify.py",
"./src/mains/cache_verify.py",
"/mnt/e/Ubuntu/cache/csim-ref",
"/mnt/e/Ubuntu/cache/traces/" + file,
str(s), str(E), str(b),
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4475e50

Please sign in to comment.