mirror of
https://github.com/logos-blockchain/logos-blockchain-simulations.git
synced 2026-01-03 21:53:09 +00:00
add log for output.csv
This commit is contained in:
parent
0a688f59fa
commit
c7247242b8
@ -112,6 +112,7 @@ print("Analyzing logs...")
|
||||
print("=================")
|
||||
|
||||
with open("output.csv", "w", newline="") as file:
|
||||
print(f"Writing results to: {file.name}")
|
||||
csv_writer = csv.writer(file)
|
||||
csv_writer.writerow(
|
||||
[
|
||||
@ -234,3 +235,5 @@ with open("output.csv", "w", newline="") as file:
|
||||
csv_row.append(bandwidth_res["max"] * 8 / 1000.0)
|
||||
|
||||
csv_writer.writerow(csv_row)
|
||||
|
||||
print(f"The outputs have been successfully written to {file.name}")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user