-
0benchmarks/benchmark-plotters/__init__.py
-
BINbenchmarks/benchmark-plotters/__pycache__/common.cpython-39.pyc
-
15benchmarks/benchmark-plotters/common.py
-
41benchmarks/benchmark-plotters/plot-cost-mtsubmit.py
-
37benchmarks/benchmark-plotters/plot-perf-enginelocation.py
-
59benchmarks/benchmark-plotters/plot-perf-peakthroughput.py
-
41benchmarks/benchmark-plotters/plot-perf-submitmethod.py
-
BINbenchmarks/benchmark-results/plot-opt-submitmethod.png
-
BINbenchmarks/benchmark-results/plot-perf-allnodes-throughput.png
-
BINbenchmarks/benchmark-results/plot-perf-allnodethroughput.png
-
BINbenchmarks/benchmark-results/plot-perf-enginelocation.png
-
BINbenchmarks/benchmark-results/plot-perf-mtsubmit.png
-
BINbenchmarks/benchmark-results/plot-perf-smart-throughput.png
-
BINbenchmarks/benchmark-results/plot-perf-smartthroughput.png
@ -0,0 +1,15 @@ |
|||||
|
# calculates throughput in gib/s from the meassured |
||||
|
# transfer duration (in nanoseconds) for a given element |
||||
|
# with the size of this given in bytes |
||||
|
def calc_throughput(size_bytes,time_ns): |
||||
|
time_seconds = time_ns * 1e-9 |
||||
|
size_gib = size_bytes / (1024 ** 3) |
||||
|
throughput_gibs = size_gib / time_seconds |
||||
|
return throughput_gibs |
||||
|
|
||||
|
|
||||
|
# reverse array search: return index of value in array |
||||
|
def index_from_element(value,array): |
||||
|
for (idx,val) in enumerate(array): |
||||
|
if val == value: return idx |
||||
|
return 0 |
Before Width: 622 | Height: 453 | Size: 34 KiB After Width: 594 | Height: 488 | Size: 39 KiB |
After Width: 649 | Height: 580 | Size: 105 KiB |
Before Width: 652 | Height: 453 | Size: 98 KiB |
Before Width: 687 | Height: 453 | Size: 39 KiB After Width: 563 | Height: 488 | Size: 40 KiB |
Before Width: 655 | Height: 453 | Size: 30 KiB After Width: 563 | Height: 522 | Size: 37 KiB |
After Width: 684 | Height: 580 | Size: 120 KiB |
Before Width: 943 | Height: 453 | Size: 116 KiB |