Skip to content
Snippets Groups Projects
Verified Commit c327ca9f authored by Jayesh Badwaik's avatar Jayesh Badwaik
Browse files

- go a little further to see the plateu

parent 7a2ef002
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ variables:
powercap-measurement:
variables:
CUSTOM_CI_BUILDS_DIR: /p/scratch/cjsc/badwaik1.exacb/
CUSTOM_CI_BUILDS_DIR: /p/scratch/cjsc/badwaik1.exacb/job/$CI_JOB_ID
id_tokens:
SITE_ID_TOKEN:
aud: "https://gitlab.jsc.fz-juelich.de"
......@@ -42,5 +42,5 @@ powercap-plotting:
- python -m venv venv
- source venv/bin/activate
- pip install matplotlib
- python post/plotting.py --input benchmark.csv --output benchmark.pdf
- python post/plotting.py --input benchmark.csv --output benchmark.pdf --powercap 300
......@@ -12,7 +12,7 @@ parameterset:
- name: benchParam
parameter:
- name: inputpowercap
_: "100, 120, 140, 160, 180, 200, 220, 240, 260, 280, 300"
_: "100, 120, 140, 160, 180, 200, 220, 240, 260, 280, 300, 320, 340, 360, 380, 400"
- name: systemParam
init_with: "platform.xml:systemParameter"
parameter:
......
......@@ -10,6 +10,7 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--input", help="input file")
parser.add_argument("--output", help="output file")
parser.add_argument("--powercap", help="powercap")
args = parser.parse_args()
filename = args.input
......@@ -25,7 +26,7 @@ if __name__ == "__main__":
fig, ax = matplotlib.pyplot.subplots()
ax.plot(x, y)
ax.set(xlabel="power", ylabel="performance", title="Graph")
ax.set(xlabel="power", ylabel="performance", title="BMC Powercap=" + str(args.powercap))
matplotlib.pyplot.savefig(args.output)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment