提交 01be5705 authored 作者: Frederic's avatar Frederic 提交者: Arnaud Bergeron

Print the number of element used. and long line

上级 614a6566
...@@ -49,7 +49,12 @@ if __name__ == '__main__': ...@@ -49,7 +49,12 @@ if __name__ == '__main__':
else: else:
costlySpeed = costlyTimeOpenmp / costlyTime costlySpeed = costlyTimeOpenmp / costlyTime
costlySpeedstring = "slowdown" costlySpeedstring = "slowdown"
print("Timmed with vector of %d elements" % options.N)
print("Fast op time without openmp %fs with openmp %fs %s %2.2f" % (
cheapTime, cheapTimeOpenmp, cheapSpeedstring, cheapSpeed))
print("Fast op time without openmp %fs with openmp %fs %s %2.2f" % (cheapTime, cheapTimeOpenmp, cheapSpeedstring, cheapSpeed)) print("Fast op time without openmp %fs with openmp %fs %s %2.2f" % (
cheapTime, cheapTimeOpenmp, cheapSpeedstring, cheapSpeed))
print("Slow op time without openmp %fs with openmp %fs %s %2.2f" % (costlyTime, costlyTimeOpenmp, costlySpeedstring, costlySpeed)) print("Slow op time without openmp %fs with openmp %fs %s %2.2f" % (
costlyTime, costlyTimeOpenmp, costlySpeedstring, costlySpeed))
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论