Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
powercap-measurement
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jayesh Badwaik
powercap-measurement
Commits
48f0ac43
Verified
Commit
48f0ac43
authored
2 months ago
by
Jayesh Badwaik
Browse files
Options
Downloads
Patches
Plain Diff
+ update for lower values of power
parent
c327ca9f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
benchmark.yml
+1
-1
1 addition, 1 deletion
benchmark.yml
post/multiplot.py
+35
-0
35 additions, 0 deletions
post/multiplot.py
with
36 additions
and
1 deletion
benchmark.yml
+
1
−
1
View file @
48f0ac43
...
...
@@ -12,7 +12,7 @@ parameterset:
-
name
:
benchParam
parameter
:
-
name
:
inputpowercap
_
:
"
100,
1
20,
1
40,
1
60,
180,
200,
220,
240,
260,
280,
300,
320,
340,
360,
380,
40
0"
_
:
"
20,40,60,
8
0"
-
name
:
systemParam
init_with
:
"
platform.xml:systemParameter"
parameter
:
...
...
This diff is collapsed.
Click to expand it.
post/multiplot.py
0 → 100755
+
35
−
0
View file @
48f0ac43
#!/usr/bin/env python3
import
matplotlib.pyplot
import
csv
import
argparse
if
__name__
==
"
__main__
"
:
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
"
--output
"
,
help
=
"
output file
"
)
parser
.
add_argument
(
"
--powercap
"
,
help
=
"
powercap
"
)
args
=
parser
.
parse_args
()
colors
=
[
"
red
"
,
"
blue
"
,
"
green
"
]
markers
=
[
"
o
"
,
"
^
"
,
"
s
"
]
fig
,
ax
=
matplotlib
.
pyplot
.
subplots
()
for
i
in
[
100
,
200
,
300
]:
x
=
[]
y
=
[]
filename
=
str
(
i
)
+
"
.csv
"
with
open
(
filename
)
as
f
:
plots
=
csv
.
reader
(
f
,
delimiter
=
"
,
"
)
for
index
,
row
in
enumerate
(
plots
):
if
index
!=
0
:
x
.
append
(
int
(
row
[
0
]))
y
.
append
(
int
(
row
[
1
]))
ax
.
plot
(
x
,
y
,
marker
=
markers
.
pop
(
0
),
color
=
colors
.
pop
(
0
),
label
=
"
BMC Powercap=
"
+
str
(
i
))
ax
.
set
(
xlabel
=
"
power / W
"
,
ylabel
=
"
performance / bogo-mips
"
)
ax
.
legend
()
matplotlib
.
pyplot
.
savefig
(
args
.
output
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment