Skip to content
Snippets Groups Projects
Commit dc2e7e63 authored by Emile Prost's avatar Emile Prost
Browse files

debuggage

parent 77996292
No related branches found
No related tags found
No related merge requests found
import subprocess import subprocess
import sys import sys
import os import os
import re
import launcher_SUBP import launcher_SUBP
import tools import tools
...@@ -18,8 +19,8 @@ for nb_threads in range(0,5): ...@@ -18,8 +19,8 @@ for nb_threads in range(0,5):
if "throughput" in line: if "throughput" in line:
# Find float in line # Find float in line
throughput = float(re.findall("\d+\.\d+", line)[0]) throughput = float(re.findall("\d+\.\d+", line)[0])
troughputs[nb_threads] += troughput throughputs[nb_threads] += throughput
troughputs[nb_threads] = troughputs[nb_threads]/6 throughputs[nb_threads] = throughputs[nb_threads]/6
print('Mean value of throughput in the configuration [512, 256, 512, 128, 20, 9]') print('Mean value of throughput in the configuration [512, 256, 512, 128, 20, 9]')
print('for a number of threads going from 4 to 8 :') print('for a number of threads going from 4 to 8 :')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment